From acacbaa788efe190217f81836a7bcd81224dbaac Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 20 Aug 2011 14:02:38 +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 78f4fa6c8d0..331ac4e16b1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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 diff --git a/configure b/configure index 3af5eeb3541..99a7c718baf 100755 --- a/configure +++ b/configure @@ -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 139b21b4f10..acd35d843dd 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";;