Issue #12326: sys.platform is now always 'linux2' on Linux

Even if Python is compiled on Linux 3.
This commit is contained in:
Victor Stinner 2011-08-20 14:02:38 +02:00
parent a7eb3c802e
commit acacbaa788
3 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,9 @@ Core and Builtins
Library Library
------- -------
- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
is compiled on Linux 3.
- Issue #9173: Let shutil._make_archive work if the logger argument is None. - Issue #9173: Let shutil._make_archive work if the logger argument is None.
- Issue #12650: Fix a race condition where a subprocess.Popen could leak - Issue #12650: Fix a race condition where a subprocess.Popen could leak

1
configure vendored
View File

@ -2995,6 +2995,7 @@ then
MACHDEP="$ac_md_system$ac_md_release" MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in case $MACHDEP in
linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";; cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";; darwin*) MACHDEP="darwin";;
atheos*) MACHDEP="atheos";; atheos*) MACHDEP="atheos";;

View File

@ -293,6 +293,7 @@ then
MACHDEP="$ac_md_system$ac_md_release" MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in case $MACHDEP in
linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";; cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";; darwin*) MACHDEP="darwin";;
atheos*) MACHDEP="atheos";; atheos*) MACHDEP="atheos";;