diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-08-20 12:02:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-08-20 12:02:38 (GMT) |
commit | acacbaa788efe190217f81836a7bcd81224dbaac (patch) | |
tree | 1b4701c2e54adba54ee579947902fe94d3b67840 | |
parent | a7eb3c802e9ff40c6ff6a1f7c7f86097eccd01ab (diff) | |
download | cpython-acacbaa788efe190217f81836a7bcd81224dbaac.zip cpython-acacbaa788efe190217f81836a7bcd81224dbaac.tar.gz cpython-acacbaa788efe190217f81836a7bcd81224dbaac.tar.bz2 |
Issue #12326: sys.platform is now always 'linux2' on Linux
Even if Python is compiled on Linux 3.
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.in | 1 |
3 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,9 @@ Core and Builtins 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 #12650: Fix a race condition where a subprocess.Popen could leak @@ -2995,6 +2995,7 @@ then MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux*) MACHDEP="linux2";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; atheos*) MACHDEP="atheos";; diff --git a/configure.in b/configure.in index 139b21b..acd35d8 100644 --- a/configure.in +++ b/configure.in @@ -293,6 +293,7 @@ then MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux*) MACHDEP="linux2";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; atheos*) MACHDEP="atheos";; |