Author brian.curtin
Recipients brian.curtin
Date 2010-01-23.19:57:08
SpamBayes Score 1.8432e-06
Marked as misclassified No
Message-id <>
I always find myself wishing sys.getwindowsversion() utilized the named tuple concept, so here it is against trunk. sys.version_info was also changed in this manner for 2.7.

Because it is a PyStructSeq/named tuple, it is still accessible like a regular old tuple, but can now be accessed by named attributes.

One thing I don't like is that this is a function, unlike sys.version_info. I think something like sys.windows_version would be there sense in making that an additional API and starting to phase out the getwindowsversion function in py3k?

The patch includes doc and test changes.
Date User Action Args
2010-01-23 19:57:12brian.curtinsetrecipients: + brian.curtin
2010-01-23 19:57:12brian.curtinsetmessageid: <>
2010-01-23 19:57:10brian.curtinlinkissue7766 messages
2010-01-23 19:57:10brian.curtincreate