[New-bugs-announce] [issue9202] Update platform.win32_ver() to account for change to #8413
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.
nosy: benjamin.peterson, brian.curtin, lemburg
stage: needs patch
title: Update platform.win32_ver() to account for change to #8413
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce