]> granicus.if.org Git - python/commit
Close #12326: sys.platform is now always 'linux' on Linux
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 20 Aug 2011 21:39:26 +0000 (23:39 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 20 Aug 2011 21:39:26 +0000 (23:39 +0200)
commitff3d9399fc79b64b23b60ac9a11fa9009e6333e7
tree81be108c70c19a0f4cab93131f74d19674e17eed
parent87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f
Close #12326: sys.platform is now always 'linux' on Linux

On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
14 files changed:
Doc/whatsnew/3.3.rst
Lib/plat-linux/CDROM.py [moved from Lib/plat-linux2/CDROM.py with 100% similarity]
Lib/plat-linux/DLFCN.py [moved from Lib/plat-linux2/DLFCN.py with 100% similarity]
Lib/plat-linux/IN.py [moved from Lib/plat-linux2/IN.py with 100% similarity]
Lib/plat-linux/TYPES.py [moved from Lib/plat-linux2/TYPES.py with 100% similarity]
Lib/plat-linux/regen [moved from Lib/plat-linux2/regen with 100% similarity]
Lib/plat-linux3/CDROM.py [deleted file]
Lib/plat-linux3/DLFCN.py [deleted file]
Lib/plat-linux3/IN.py [deleted file]
Lib/plat-linux3/TYPES.py [deleted file]
Lib/plat-linux3/regen [deleted file]
Misc/NEWS
configure
configure.in