[issue7766] sys.getwindowsversion as PyStructSequence

Eric Smith report at bugs.python.org
Tue Jan 26 20:17:08 CET 2010


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

I can confirm the most recent patch (ex2) doesn't break anything on MacOS or Linux.

It's clear that structseq.c is designed to be used this way, with more named members than unnamed members (and vice-versa, actually). See n_members vs. n_in_sequence in Objects/structseq.c.

I'll work on the docstring and documentation then I'll commit it.

----------

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


More information about the Python-bugs-list mailing list