[issue7766] sys.getwindowsversion as PyStructSequence

Eric Smith report at bugs.python.org
Tue Jan 26 13:04:13 CET 2010


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

Great idea, Marc-Andre. I agree that's the better approach.

It looks like PyStructSequence supports this, by setting n_in_sequence to a value smaller then the number of PyStructSequence_Fields. A quick look doesn't show any uses of this in the C code (except maybe os.stat), but I'll investigate and make sure that's a supported use case.

----------

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


More information about the Python-bugs-list mailing list