changeset: 71979:c816479f6aaf branch: 2.7 parent: 71974:3e093590ac57 user: Victor Stinner date: Sat Aug 20 14:02:38 2011 +0200 files: Misc/NEWS configure configure.in description: Issue #12326: sys.platform is now always 'linux2' on Linux Even if Python is compiled on Linux 3. diff -r 3e093590ac57 -r c816479f6aaf Misc/NEWS --- a/Misc/NEWS Fri Aug 19 22:54:33 2011 +0200 +++ b/Misc/NEWS Sat Aug 20 14:02:38 2011 +0200 @@ -40,6 +40,9 @@ 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 -r 3e093590ac57 -r c816479f6aaf configure --- a/configure Fri Aug 19 22:54:33 2011 +0200 +++ b/configure Sat Aug 20 14:02:38 2011 +0200 @@ -2995,6 +2995,7 @@ MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux*) MACHDEP="linux2";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; atheos*) MACHDEP="atheos";; diff -r 3e093590ac57 -r c816479f6aaf configure.in --- a/configure.in Fri Aug 19 22:54:33 2011 +0200 +++ b/configure.in Sat Aug 20 14:02:38 2011 +0200 @@ -293,6 +293,7 @@ MACHDEP="$ac_md_system$ac_md_release" case $MACHDEP in + linux*) MACHDEP="linux2";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";; atheos*) MACHDEP="atheos";;