mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Major version bump from 3.13.9 to 3.14.3. Highlights of Python 3.14: - PEP 649: Deferred evaluation of annotations - PEP 750: Template string literals (t-strings) - PEP 758: Exception syntax simplification (no brackets needed) - PEP 765: Restrict control flow in finally blocks - PEP 779: Official free-threaded mode support - PEP 784: Zstandard compression module - UUID versions 6-8 support with faster generation - Formally verified HMAC implementation - Experimental JIT compiler support - Tail-call interpreter option for performance Full release notes: https://www.python.org/downloads/release/python-3143/ Dropped 100-test_hashlib-better-handle-support-for-SHA3.patch (upstreamed) Adapted 027-fix-host-build-libressl.patch (for X509_VERIFY_PARAM_get_hostflags() ) Refreshed other patches. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
12 lines
663 B
Diff
12 lines
663 B
Diff
--- a/Python/initconfig.c
|
|
+++ b/Python/initconfig.c
|
|
@@ -474,7 +474,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 */
|
|
-int Py_DontWriteBytecodeFlag = 0; /* Suppress writing bytecode files (*.pyc) */
|
|
+int Py_DontWriteBytecodeFlag = 1; /* Suppress writing bytecode files (*.pyc) */
|
|
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 */
|