From 5986c5f5cdfbc39cdfea2812af92f39275f74379 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 26 Jul 2017 23:55:31 +0300 Subject: 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 --- lang/python/python3/patches/004-do-not-write-bytes-codes.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lang/python/python3/patches/004-do-not-write-bytes-codes.patch') 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') -- cgit