diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-07-26 23:55:31 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-07-26 23:56:51 +0300 |
| commit | 5986c5f5cdfbc39cdfea2812af92f39275f74379 (patch) | |
| tree | 72fa424141b64ddc7d414911ec36180395e41d24 /lang/python/python3/patches/004-do-not-write-bytes-codes.patch | |
| parent | 1660549e92882b420d8720104dfb7afd10bc9b3e (diff) | |
python3: refresh patches `make package/python3/refresh` cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.
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.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') |
