mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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.
This commit is contained in:
parent
87f58d828a
commit
ff3d9399fc
14 changed files with 11 additions and 1085 deletions
1
configure
vendored
1
configure
vendored
|
@ -3052,6 +3052,7 @@ then
|
|||
MACHDEP="$ac_md_system$ac_md_release"
|
||||
|
||||
case $MACHDEP in
|
||||
linux*) MACHDEP="linux2";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
irix646) MACHDEP="irix6";;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue