This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients christian.heimes, eric.araujo, eric.smith, eric.snow, rhettinger, vstinner
Date 2013-11-22.20:55:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385153734.09.0.0910011871256.issue19640@psf.upfronthosting.co.za>
In-reply-to
Content
In a first version namedtuple had an argument (named echo or verbose) that would cause the source code to be printed out, for use at the interactive prompt.  Raymond later changed it to a _source attribute, more easy to work with than printed output.

About the other question you asked on the ML (why isn’t there a base NamedTuple class to inherit): this has been discussed on python-ideas IIRC, and people have written ActiveState recipes for that idea.  It should be easy to find the ML archive links from the ActiveState posts.
History
Date User Action Args
2013-11-22 20:55:34eric.araujosetrecipients: + eric.araujo, rhettinger, vstinner, eric.smith, christian.heimes, eric.snow
2013-11-22 20:55:34eric.araujosetmessageid: <1385153734.09.0.0910011871256.issue19640@psf.upfronthosting.co.za>
2013-11-22 20:55:34eric.araujolinkissue19640 messages
2013-11-22 20:55:33eric.araujocreate