[issue19640] Drop _source attribute of namedtuple (waste memory)

2014-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the "verbose" option is mentioned as outdated because the "_source" attribute was added. Also, there are real use cases, people are using the _source as writing it to a .py file so that the dynamic namedtuple generation step can be skipped on subsequ

[issue19640] Drop _source attribute of namedtuple (waste memory)

2014-03-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19640] Drop _source attribute of namedtuple (waste memory)

2014-03-20 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19640] Drop _source attribute of namedtuple (waste memory)

2014-03-18 Thread Eric Snow
Eric Snow added the comment: Also be sure the have Raymond's sign-off before committing anything for this. :) -- ___ Python tracker ___ __

[issue19640] Drop _source attribute of namedtuple (waste memory)

2014-03-18 Thread STINNER Victor
STINNER Victor added the comment: namedtuple_source.patch: Replace _source attribute wasting memory with a property generating the source on demand. The patch adds also unit test for the verbose attribute (which is public and documented, even it is said to be "outdated"). The patch removes al