diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-08-20 12:01:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-08-20 12:01:05 (GMT) |
commit | 0c17d0d96e9684e29a731227452355da79b14b5b (patch) | |
tree | 2556bef8b91a6b5942d0af3eee8303042bdf6c00 | |
parent | 6a633bb87837fb8da42f6ba81e9fa86fdab61a5a (diff) | |
download | cpython-0c17d0d96e9684e29a731227452355da79b14b5b.zip cpython-0c17d0d96e9684e29a731227452355da79b14b5b.tar.gz cpython-0c17d0d96e9684e29a731227452355da79b14b5b.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
@@ -16,6 +16,9 @@ Core and Builtins Library ------- +- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python + is compiled on Linux 3. + - Issue #12650: Fix a race condition where a subprocess.Popen could leak resources (FD/zombie) when killed at the wrong time. @@ -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";; diff --git a/configure.in b/configure.in index c4ad4e8..3e60d8e 100644 --- a/configure.in +++ b/configure.in @@ -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";; |