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 eric.araujo
Recipients amaury.forgeotdarc, eric.araujo, eric.snow, rhettinger, vstinner
Date 2012-06-12.13:31:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>> Is this documented in whatsnew?
> I'm not sure what has been (none of my patches have done so).
Okay; if a committer does not add a note we can open a doc bug to not forget that.

>> Also, I remember a discussion about making it public or not, but
>> don’t recall a decision.
> Amaury brought it up in msg162127.  His point was that the type is public in Python, so why not the C API?
Actually I was talking about making it public at all, i.e. in Python too.

> The use cases are different for the different types.  StructSequence/namedtuple provides fixed data structures
> for structured records.  A dict is essentially the opposite: an un-fixed data structure for dynamic namespaces,
> making no firm promises as to what the future holds.
Right; I just don’t see why the clock info needs to be a dict instead of a structseq or simplenamespace, but maybe it’s explained in the PEP and I missed it.  Also it seems to me that the only advantage of simplenamespace over structseqs is that it has no order and can’t be unpacked; I don’t find that a very strong argument (I do see its value, e.g. “major, minor, *etc = sys.version_info” makes sense but we really don’t want to assign order to sys.implementation elements), but I guess this ship has sailed when the implementation was approved.
Date User Action Args
2012-06-12 13:31:53eric.araujosetrecipients: + eric.araujo, rhettinger, amaury.forgeotdarc, vstinner, eric.snow
2012-06-12 13:31:53eric.araujosetmessageid: <>
2012-06-12 13:31:52eric.araujolinkissue15003 messages
2012-06-12 13:31:51eric.araujocreate