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 brett.cannon
Recipients brett.cannon, christian.heimes, gvanrossum
Date 2008-01-13.20:19:13
SpamBayes Score 0.0011704522
Marked as misclassified No
Message-id <bbaeab100801131219l3a3ff49bid07b2b7b78a4eaa9@mail.gmail.com>
In-reply-to <478A4E24.5050704@cheimes.de>
Content
On Jan 13, 2008 9:45 AM, Christian Heimes <report@bugs.python.org> wrote:
>
> Christian Heimes added the comment:
>
> Guido van Rossum wrote:
> > Can't you use a namedtuple?  Then printing it would show the names of
> > the flags...
>
> ... and increase the startup costs of Python by loading several
> additional modules. The collections module imports _collections,
> operator and keyword. I'd rather see a better repr function for the
> sequence types.

Can we make it a function so that it is lazy? That way you can still
use namedtuple but it is only imported when the function is called
instead of during sys' initialization.
History
Date User Action Args
2008-01-13 20:19:15brett.cannonsetspambayes_score: 0.00117045 -> 0.0011704522
recipients: + brett.cannon, gvanrossum, christian.heimes
2008-01-13 20:19:13brett.cannonlinkissue1816 messages
2008-01-13 20:19:13brett.cannoncreate