Issue #12326: sys.platform is now always 'linux2' on Linux
Even if Python is compiled on Linux 3.
This commit is contained in:
parent
e1043fc230
commit
4cf6604b82
|
@ -10,6 +10,10 @@ What's New in Python 3.2.2?
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
|
||||
is compiled on Linux 3.
|
||||
|
||||
|
||||
Library
|
||||
-------
|
||||
|
||||
|
|
|
@ -2997,6 +2997,7 @@ then
|
|||
MACHDEP="$ac_md_system$ac_md_release"
|
||||
|
||||
case $MACHDEP in
|
||||
linux*) MACHDEP="linux2";;
|
||||
cygwin*) MACHDEP="cygwin";;
|
||||
darwin*) MACHDEP="darwin";;
|
||||
irix646) MACHDEP="irix6";;
|
||||
|
|
|
@ -290,6 +290,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…
Reference in New Issue