summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2018-05-03 14:46:30 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2018-05-03 14:46:35 +0300
commitb7d1d2149ee094ba3b530d5c168878c8198f286a (patch)
tree27a643ac2ce78c83400ff2fdef1ee832b0bc82cf /lang/python/python3/patches/004-do-not-write-bytes-codes.patch
parent2ef484615dc9acf9d243847c4f1ab3c73dffc37e (diff)
python3: update to version 3.6.5
Add PKG_RELEASE for setuptools and pip. Refresh all patches. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/004-do-not-write-bytes-codes.patch')
-rw-r--r--lang/python/python3/patches/004-do-not-write-bytes-codes.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
index 558ee4a1c..463263222 100644
--- a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
+++ b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
@@ -9,12 +9,3 @@
int Py_NoUserSiteDirectory = 0; /* for -s and site.py */
int Py_UnbufferedStdioFlag = 0; /* Unbuffered binary std{in,out,err} */
int Py_HashRandomizationFlag = 0; /* for -R and PYTHONHASHSEED */
-@@ -329,7 +329,7 @@ _Py_InitializeEx_Private(int install_sig
- if ((p = Py_GETENV("PYTHONOPTIMIZE")) && *p != '\0')
- Py_OptimizeFlag = add_flag(Py_OptimizeFlag, p);
- if ((p = Py_GETENV("PYTHONDONTWRITEBYTECODE")) && *p != '\0')
-- Py_DontWriteBytecodeFlag = add_flag(Py_DontWriteBytecodeFlag, p);
-+ Py_DontWriteBytecodeFlag = atoi(p);
- /* The variable is only tested for existence here; _PyRandom_Init will
- check its value further. */
- if ((p = Py_GETENV("PYTHONHASHSEED")) && *p != '\0')