[issue7766] sys.getwindowsversion as PyStructSequence

Marc-Andre Lemburg report at bugs.python.org
Fri Jul 9 00:25:39 CEST 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Brian Curtin wrote:
> 
> Brian Curtin <curtin at acm.org> added the comment:
> 
> The previously mentioned comments about backwards incompatibility with the number of items in the sequence are now a problem, since structseq now inherits from tuple. It seems that n_in_sequence gets ignored and we have a 9 item tuple.

But that's not a problem with this ticket, is it. The previous use
case has to be restored (after all, this was the main reason for
adding structseq years ago).

Someone goofed when making the said change to structseq. Is there a
ticket open for this ? Here's the change:
http://svn.python.org/view?view=rev&revision=82636

After some digging: Looks like it's being dealt with on
http://bugs.python.org/issue8413

----------

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


More information about the Python-bugs-list mailing list