[issue2308] Make structseq more like collections.namedtuple

2009-02-10 Thread Daniel Diniz
Daniel Diniz added the comment: Closing as a duplicate of issue 1820. -- nosy: +ajaksu2, rhettinger resolution: -> duplicate status: open -> closed superseder: -> Enhance Object/structseq.c to match namedtuple and tuple api ___ Python tracker

[issue2308] Make structseq more like collections.namedtuple

2008-03-16 Thread Guido van Rossum
New submission from Guido van Rossum <[EMAIL PROTECTED]>: The built-in type structseq (used by e.g. os.stat() for the stat structure and by the time module for a time tuple) resembles the new namedtuple type added to the collections module in 2.6. It would be nice if these had at least a common