Kaydet (Commit) 0c17d0d9 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #12326: sys.platform is now always 'linux2' on Linux

Even if Python is compiled on Linux 3.
üst 6a633bb8
...@@ -16,6 +16,9 @@ Core and Builtins ...@@ -16,6 +16,9 @@ Core and Builtins
Library 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 - Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time. resources (FD/zombie) when killed at the wrong time.
......
...@@ -2997,6 +2997,7 @@ then ...@@ -2997,6 +2997,7 @@ then
MACHDEP="$ac_md_system$ac_md_release" MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in case $MACHDEP in
linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";; cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";; darwin*) MACHDEP="darwin";;
irix646) MACHDEP="irix6";; irix646) MACHDEP="irix6";;
......
...@@ -290,6 +290,7 @@ then ...@@ -290,6 +290,7 @@ then
MACHDEP="$ac_md_system$ac_md_release" MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in case $MACHDEP in
linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";; cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";; darwin*) MACHDEP="darwin";;
irix646) MACHDEP="irix6";; irix646) MACHDEP="irix6";;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment