From a867744a2306f63ac55dbd35d7ce2bf44b3eb9776cbd8eda951b854cfa51fa6f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 26 Jul 2022 10:43:57 +0000 Subject: [PATCH] - Update to 3.11.0b5: - Core and Builtins - gh-93351: ast.AST node positions are now validated when provided to compile() and other related functions. If invalid positions are detected, a ValueError will be raised. - gh-94438: Fix an issue that caused extended opcode arguments and some conditional pops to be ignored when calculating valid jump targets for assignments to the f_lineno attribute of frame objects. In some cases, this could cause inconsistent internal state, resulting in a hard crash of the interpreter. - gh-95060: Undocumented PyCode_Addr2Location function now properly returns when addrq argument is less than zero. - gh-95113: Replace all EXTENDED_ARG_QUICK instructions with basic EXTENDED_ARG instructions in unquickened code. Consumers of non-adaptive bytecode should be able to handle extended arguments the same way they were handled in CPython 3.10 and older. - gh-91409: Fix incorrect source location info caused by certain optimizations in the bytecode compiler. - gh-94036: Fix incorrect source location info for some multi-line attribute accesses and method calls. - gh-94739: Allow jumping within, out of, and across exception handlers in the debugger. - gh-94949: ast.parse() will no longer parse parenthesized context managers when passed feature_version less than (3, 9). Patch by Shantanu Jain. - gh-94947: ast.parse() will no longer parse assignment expressions when passed feature_version less than (3, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=25 --- Python-3.11.0b4.tar.xz | 3 -- Python-3.11.0b4.tar.xz.asc | 16 ------- Python-3.11.0b5.tar.xz | 3 ++ Python-3.11.0b5.tar.xz.asc | 16 +++++++ python311.changes | 94 ++++++++++++++++++++++++++++++++++++++ python311.spec | 2 +- 6 files changed, 114 insertions(+), 20 deletions(-) delete mode 100644 Python-3.11.0b4.tar.xz delete mode 100644 Python-3.11.0b4.tar.xz.asc create mode 100644 Python-3.11.0b5.tar.xz create mode 100644 Python-3.11.0b5.tar.xz.asc diff --git a/Python-3.11.0b4.tar.xz b/Python-3.11.0b4.tar.xz deleted file mode 100644 index 051521e..0000000 --- a/Python-3.11.0b4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d93b611607903e080417c1a9567f5fbbf5124cc5c86f4afbba1c8fd34c5f6fb -size 19573532 diff --git a/Python-3.11.0b4.tar.xz.asc b/Python-3.11.0b4.tar.xz.asc deleted file mode 100644 index eca319c..0000000 --- a/Python-3.11.0b4.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmLMQR4ACgkQ/+h0BBaL -2EeIzA/+OXF1w6oXajUYxjWK13w3DR95Rje+X+x8F5Fzpyt+aJPgGNBB+OD0mc7/ -Lm3NAZwmNzTPRGU1aUfRWcP07ZqVmpdlmk8C2PHEYwfB+Hg7WBX0cuYgm2vvIU2X -h8figNl+uThgnInt/CJVzUDbUvVENvFwRwrwn+8FLPD3m7W8orad0m9RR7IVhmfe -VyNkwTb76ArCCBNbRC/KbKnudmvMVlpFV8YPphGLeeJvQY41bwuxmZqhtCqzGk9i -t6zB/Q9xlAMIpOCcSlOGdGcivzVwFIbBM5iR1TOARxtrUkyNVCDVrExC7GdLGIsy -sdRcqJGuVclLSdHK4r9ybx6/Bz9ODaeIO5Sgk3Xh09jN2v6lPDKI7v9Y20njvgB6 -SS8MAwbliQx9TNFgxHEACI0he7vNUcPbzV1hrbMHU7lv4y5ATcKmnt4bsrqNZdbN -PD88Dop1bUgfzvglaSBzxInawfPanVw3S6JSgs+2kJcIXu2Mchmj2+bRGbWjCvo4 -qKT3Yn23iLJ+EHcMqsZ4rKpCDy0953lR37G9JdfaMeh1PH88cqNsJVILHZZMcooR -nZeFtS7C5jZP1KTMogxbeiKoPKKgvgKnuBzkphv8uxTlnH8AG5ZG61UKFSu1O4bh -B0xARxclmPgryXALE+QWlYjrxtnI26Dgw1YNC2Y13mr1HZ3wiBA= -=uigd ------END PGP SIGNATURE----- diff --git a/Python-3.11.0b5.tar.xz b/Python-3.11.0b5.tar.xz new file mode 100644 index 0000000..873945c --- /dev/null +++ b/Python-3.11.0b5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3810bd22f7dc34a99c2a2eb4b85264a4df4f05ef59c4e0ccc2ea82ee9c491698 +size 19792136 diff --git a/Python-3.11.0b5.tar.xz.asc b/Python-3.11.0b5.tar.xz.asc new file mode 100644 index 0000000..b07b357 --- /dev/null +++ b/Python-3.11.0b5.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmLfF4gACgkQ/+h0BBaL +2EcLCw//SioQXu5dZm+yDZT7JrdJyPt0e6q5OtcFNXucPlHu0ywwVcPtf2YsQLsm +O+5OCui9rxdhxHWnuzvOmnl/OuI8wzxms+vIFiLF968Bz+hsFgSQFMM8urPQQSjW +B7EjgNEQMEo8t2zlgDCB+9UmoyTmW3dkWltB91x55kEpRft20fOl/4UN4CNzz9lV +2VIq3oi/A2zAj1Av2oUtFrswYrmY6u2razndAEoKLb1NriskkANGRSX33+uy7Jgq +vGvACiTtJV0B5HW3s3//h9kLTBzSyFh2bm0nKSfw//MC9wpTExObnvjyI5JqdBZ0 +WjFZr6vYVWALSc6dhA1sAnCC0YrGAdmGSA/KDaFCj0wMre4zWzx6rL2HhQuqtBmX +6veV2jrEwks+3m/Gue8R9Yx959YvDrIOTArAwXezKsg/VzMiFd10Nm4Zop35tD8W +y2sz/nMcXmiK4UT73IvpV1/wmElfkEmA869uVwhHPg+lcweXTYKMjrDdnjb8Pe+u +kX7DY3SGXWrxQ4Ev78LVnDlWgeqig4lHwb1CairXa0xE710o/bC/3cj0CB2j9dYV +QPS21DRcJA5ioLL+d9hYXLWePYemSu2MvPONvk4j35B5onTPtbXh6A3kSpbrzGCf +CfkgGowIAd5LLBvKsepx9phVUHaK9SJkrJlVGnGBjYI+YkKuGcI= +=gAHw +-----END PGP SIGNATURE----- diff --git a/python311.changes b/python311.changes index 8462f56..a0b3684 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,97 @@ +------------------------------------------------------------------- +Tue Jul 26 10:37:31 UTC 2022 - Matej Cepl + +- Update to 3.11.0b5: + - Core and Builtins + - gh-93351: ast.AST node positions are now validated when + provided to compile() and other related functions. If + invalid positions are detected, a ValueError will be + raised. + - gh-94438: Fix an issue that caused extended opcode + arguments and some conditional pops to be ignored when + calculating valid jump targets for assignments to the + f_lineno attribute of frame objects. In some cases, this + could cause inconsistent internal state, resulting in a + hard crash of the interpreter. + - gh-95060: Undocumented PyCode_Addr2Location function now + properly returns when addrq argument is less than zero. + - gh-95113: Replace all EXTENDED_ARG_QUICK instructions + with basic EXTENDED_ARG instructions in unquickened + code. Consumers of non-adaptive bytecode should be able to + handle extended arguments the same way they were handled in + CPython 3.10 and older. + - gh-91409: Fix incorrect source location info caused by + certain optimizations in the bytecode compiler. + - gh-94036: Fix incorrect source location info for some + multi-line attribute accesses and method calls. + - gh-94739: Allow jumping within, out of, and across + exception handlers in the debugger. + - gh-94949: ast.parse() will no longer parse parenthesized + context managers when passed feature_version less than (3, + 9). Patch by Shantanu Jain. + - gh-94947: ast.parse() will no longer parse assignment + expressions when passed feature_version less than (3, + 8). Patch by Shantanu Jain. + - gh-91256: Ensures the program name is known for help text + during interpreter startup. + - gh-94869: Fix the column offsets for some expressions in + multi-line f-strings ast nodes. Patch by Pablo Galindo. + - gh-94822: Fix an issue where lookups of metaclass + descriptors may be ignored when an identically-named + attribute also exists on the class itself. + - gh-91153: Fix an issue where a bytearray item assignment + could crash if it’s resized by the new value’s __index__() + method. + - gh-90699: Fix reference counting bug in + bool.__repr__(). Patch by Kumar Aditya. + - Library + - gh-95087: Fix IndexError in parsing invalid date in the + email module. + - gh-95199: Upgrade bundled setuptools to 63.2.0. + - gh-95194: Upgrade bundled pip to 22.2. + - gh-95132: Fix a sqlite3 regression where *args and **kwds + were incorrectly relayed from connect() to the Connection + factory. The regression was introduced in 3.11a1 with PR + 24421 (gh-85128). Patch by Erlend E. Aasland.` + - gh-93157: Fix fileinput module didn’t support errors option + when inplace is true. + - gh-95105: wsgiref.types.InputStream.__iter__() should + return Iterator[bytes], not Iterable[bytes]. Patch by + Shantanu Jain. + - gh-94857: Fix refleak in + _io.TextIOWrapper.reconfigure. Patch by Kumar Aditya. + - gh-94821: Fix binding of unix socket to empty address + on Linux to use an available address from the abstract + namespace, instead of “0”. + - gh-89988: Fix memory leak in pickle.Pickler when looking up + dispatch_table. Patch by Kumar Aditya. + - bpo-47025: Drop support for bytes on sys.path. + - Tests + - gh-95212: Make multiprocessing test case + test_shared_memory_recreate parallel-safe. + - Build + - gh-94847: Fixed _decimal module build issue on GCC when + compiling with LTO and pydebug. Debug builds no longer + force inlining of functions. + - gh-94841: Fix the possible performance regression of + PyObject_Free() compiled with MSVC version 1932. + - gh-94801: configure now uses custom flags like ZLIB_CFLAGS + and ZLIB_LIBS when searching for headers and libraries. + - gh-94773: deepfreeze.py now supports code object with + frozensets that contain incompatible, unsortable types. + - C API + - gh-94930: Fix SystemError raised when + PyArg_ParseTupleAndKeywords() is used with # in (...) but + without PY_SSIZE_T_CLEAN defined. + - gh-94864: Fix PyArg_Parse* with deprecated format units “u” + and “Z”. It returned 1 (success) when warnings are turned + into exceptions. + - gh-94731: Python again uses C-style casts for + most casting operations when compiled with + C++. This may trigger compiler warnings, if they + are enabled with e.g. -Wold-style-cast `` or + ``-Wzero-as-null-pointer-constant options for g++. + ------------------------------------------------------------------- Thu Jul 21 14:19:53 UTC 2022 - Matej Cepl diff --git a/python311.spec b/python311.spec index 066049d..af02322 100644 --- a/python311.spec +++ b/python311.spec @@ -103,7 +103,7 @@ Obsoletes: python39%{?1:-%{1}} %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so %bcond_without profileopt Name: %{python_pkg_name}%{psuffix} -Version: 3.11.0b4 +Version: 3.11.0b5 Release: 0 Summary: Python 3 Interpreter License: Python-2.0