From 0c17d0d96e9684e29a731227452355da79b14b5b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 20 Aug 2011 14:01:05 +0200 Subject: [PATCH] Issue #12326: sys.platform is now always 'linux2' on Linux Even if Python is compiled on Linux 3. --- Misc/NEWS | 3 +++ configure | 1 + configure.in | 1 + 3 files changed, 5 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index a62b485fc21..a4251e35fbf 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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. diff --git a/configure b/configure index 508ae3463a1..9d85e359b1d 100755 --- a/configure +++ b/configure @@ -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 c4ad4e89087..3e60d8e0165 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";;