diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-05-04 19:48:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-04 19:48:44 +0300 |
| commit | b0f5972a16b7514da1b6727a401eee8e2eb5469d (patch) | |
| tree | 776e8e3d06369e6caa91ab0a23d5ce65382ecc9d /lang/python/python3/patches/004-do-not-write-bytes-codes.patch | |
| parent | 43a071f073ec52228d21a81938e21cfd3f6671df (diff) | |
| parent | b7d1d2149ee094ba3b530d5c168878c8198f286a (diff) | |
Merge pull request #6003 from commodo/python-updates
python,python3: update with newer releases
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.patch | 9 |
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') |
