summaryrefslogtreecommitdiffstats
path: root/Lib/plat-linux2/regen
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-08-20 21:39:26 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-08-20 21:39:26 (GMT)
commitff3d9399fc79b64b23b60ac9a11fa9009e6333e7 (patch)
tree81be108c70c19a0f4cab93131f74d19674e17eed /Lib/plat-linux2/regen
parent87f58d828a4bd0cb2fcea4fd9e9c51e615878d1f (diff)
downloadcpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.zip
cpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.tar.gz
cpython-ff3d9399fc79b64b23b60ac9a11fa9009e6333e7.tar.bz2
Close #12326: sys.platform is now always 'linux' on Linux
On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
Diffstat (limited to 'Lib/plat-linux2/regen')
-rwxr-xr-xLib/plat-linux2/regen8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/plat-linux2/regen b/Lib/plat-linux2/regen
deleted file mode 100755
index c76950e..0000000
--- a/Lib/plat-linux2/regen
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/sh
-case `uname` in
-Linux*) ;;
-*) echo Probably not on a Linux system 1>&2
- exit 1;;
-esac
-set -v
-h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h