summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-03-30 12:14:59 +0800
committerGitHub <noreply@github.com>2023-03-30 12:14:59 +0800
commit39ddffe42dad25e805884a29664ea4dfef90105b (patch)
tree8af0db8fa8abce1e38f5109a68a1f7bbbc68b24a /lang/python/python3/patches/004-do-not-write-bytes-codes.patch
parent35667c546eb76f8fab0ec6c4f3dcc51d213979c7 (diff)
parent509f4e2f838952bd0322597a9b677ead283c98d1 (diff)
Merge pull request #20676 from jefferyto/python-3.7.16-openwrt-19.07
[openwrt-19.07] python3: Update to 3.7.16, refresh patches
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.patch2
1 files changed, 1 insertions, 1 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 eb66443aa..d92f69783 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,6 +1,6 @@
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
-@@ -120,7 +120,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
+@@ -121,7 +121,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */
int Py_FrozenFlag = 0; /* Needed by getpath.c */
int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */