diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-07-27 07:19:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-27 07:19:42 +0300 |
| commit | 5a58466cac323b6d7f2deca40ecefb8b170a3cae (patch) | |
| tree | 72fa424141b64ddc7d414911ec36180395e41d24 /lang/python/python3/patches/004-do-not-write-bytes-codes.patch | |
| parent | dee9bbcc2b0242726e42a620e83c926384e13185 (diff) | |
| parent | 5986c5f5cdfbc39cdfea2812af92f39275f74379 (diff) | |
Merge pull request #4637 from commodo/python-refresh-patches
python,python3: refresh patches via refresh cmd (reduce patch fuzz)
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 | 6 |
1 files changed, 2 insertions, 4 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 8eba5aa6d..558ee4a1c 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 @@ -1,8 +1,6 @@ -diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c -index 640271f..5479e6c 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c -@@ -88,7 +88,7 @@ int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */ +@@ -88,7 +88,7 @@ int Py_BytesWarningFlag; /* Warn on str( int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ int Py_FrozenFlag; /* Needed by getpath.c */ int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ @@ -11,7 +9,7 @@ index 640271f..5479e6c 100644 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_sigs, int install_importlib) +@@ -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') |
