[New-bugs-announce] [issue9202] Update platform.win32_ver() to account for change to #8413

Brian Curtin report at bugs.python.org
Thu Jul 8 16:52:52 CEST 2010


New submission from Brian Curtin <curtin at acm.org>:

The change to #8413 broke the use of sys.getwindowsversion() in platform.platform() calls on Windows, which subsequently breaks all runs of regrtest (e.g. buildbots) since it outputs platform info at the start.

Now that structseq subclasses tuple, every field of sys.getwindowsversion() is returned, rather than only the specific ones inserted into the structseq (for backwards compatibility). Since platform.py needs to maintain backwards compatibility with older versions, the change will need to handle both the new and old way.

----------
assignee: brian.curtin
components: None
messages: 109546
nosy: benjamin.peterson, brian.curtin, lemburg
priority: high
severity: normal
stage: needs patch
status: open
title: Update platform.win32_ver() to account for change to #8413
type: behavior
versions: Python 3.2

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


More information about the New-bugs-announce mailing list