Message59863
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. |
|
| Date |
User |
Action |
Args |
| 2008-01-13 20:19:15 | brett.cannon | set | spambayes_score: 0.00117045 -> 0.00117045 recipients:
+ brett.cannon, gvanrossum, christian.heimes |
| 2008-01-13 20:19:13 | brett.cannon | link | issue1816 messages |
| 2008-01-13 20:19:13 | brett.cannon | create | |
|