Éric Araujo added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19640>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to