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 gvanrossum
Recipients gvanrossum
Date 2008-03-16.21:19:29
SpamBayes Score 0.05267752
Marked as misclassified No
Message-id <1205702371.36.0.516999386883.issue2308@psf.upfronthosting.co.za>
In-reply-to
Content
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 ABC if not a shared
implementation.

At the same time I think that in 3.0 we should remove the feature of
"hidden fields" which is used to have structs that behave like
fixed-size tuples even though they have a variable number of named
fields (the list of names varies per platform).  We should deprecate the
use of tuple-unpacking for these (except for the first 6 fields of a
timetuple, perhaps).
History
Date User Action Args
2008-03-16 21:19:31gvanrossumsetspambayes_score: 0.0526775 -> 0.05267752
recipients: + gvanrossum
2008-03-16 21:19:31gvanrossumsetspambayes_score: 0.0526775 -> 0.0526775
messageid: <1205702371.36.0.516999386883.issue2308@psf.upfronthosting.co.za>
2008-03-16 21:19:30gvanrossumlinkissue2308 messages
2008-03-16 21:19:29gvanrossumcreate