[issue7766] sys.getwindowsversion as PyStructSequence

Eric Smith report at bugs.python.org
Tue Jan 26 08:36:22 CET 2010


Eric Smith <eric at trueblade.com> added the comment:

Here's an updated patch. I fixed some docstrings, modified it to work with the most recent assertIsInstance changes, and added #ifdef for Windows.

There are a number of test failures still, I think all of them relating to errors in platform.py where it calls sys.getwindowsversion() and unpacks the result. I'll look at those soon.

----------
Added file: http://bugs.python.org/file16006/winver_as_structseq_ex1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7766>
_______________________________________


More information about the Python-bugs-list mailing list