forked from pool/python313
- Update to 3.13.0~b2:
* Core and Builtins
- gh-119462: Make sure that invariants of type versioning are
maintained:
* Superclasses always have their version number assigned
before subclasses
* The version tag is always zero if the tag is not valid.
* The version tag is always non-zero if the tag is valid.
- gh-120437: Fix _CHECK_STACK_SPACE optimization problems
introduced in gh-118322.
- gh-120722: Correctly set the bytecode position on return
instructions within lambdas. Patch by Jelle Zijlstra.
- gh-120367: Fix bug where compiler creates a redundant
jump during pseudo-op replacement. Can only happen with
a synthetic AST that has a try on the same line as the
instruction following the exception handler.
- gh-113993: Strings interned with sys.intern() are again
garbage-collected when no longer used, as per the
documentation. Strings interned with the C function
PyUnicode_InternInPlace() are still immortal. Internals of
the string interning mechanism have been changed. This may
affect performance and identities of str objects.
- gh-120384: Fix an array out of bounds crash in
list_ass_subscript, which could be invoked via some
specificly tailored input: including concurrent
modification of a list object, where one thread assigns a
slice and another clears it.
- gh-120367: Fix crash in compiler on code with redundant
NOPs and JUMPs which show up after exception handlers are
moved to the end of the code.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,166 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 28 06:12:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 3.13.0~b2:
|
||||
* Core and Builtins
|
||||
- gh-119462: Make sure that invariants of type versioning are
|
||||
maintained:
|
||||
* Superclasses always have their version number assigned
|
||||
before subclasses
|
||||
* The version tag is always zero if the tag is not valid.
|
||||
* The version tag is always non-zero if the tag is valid.
|
||||
- gh-120437: Fix _CHECK_STACK_SPACE optimization problems
|
||||
introduced in gh-118322.
|
||||
- gh-120722: Correctly set the bytecode position on return
|
||||
instructions within lambdas. Patch by Jelle Zijlstra.
|
||||
- gh-120367: Fix bug where compiler creates a redundant
|
||||
jump during pseudo-op replacement. Can only happen with
|
||||
a synthetic AST that has a try on the same line as the
|
||||
instruction following the exception handler.
|
||||
- gh-113993: Strings interned with sys.intern() are again
|
||||
garbage-collected when no longer used, as per the
|
||||
documentation. Strings interned with the C function
|
||||
PyUnicode_InternInPlace() are still immortal. Internals of
|
||||
the string interning mechanism have been changed. This may
|
||||
affect performance and identities of str objects.
|
||||
- gh-120384: Fix an array out of bounds crash in
|
||||
list_ass_subscript, which could be invoked via some
|
||||
specificly tailored input: including concurrent
|
||||
modification of a list object, where one thread assigns a
|
||||
slice and another clears it.
|
||||
- gh-120367: Fix crash in compiler on code with redundant
|
||||
NOPs and JUMPs which show up after exception handlers are
|
||||
moved to the end of the code.
|
||||
- gh-120400: Support Linux perf profiler to see Python calls
|
||||
on RISC-V architecture.
|
||||
- gh-120221: Deliver real signals on Ctrl-C and Ctrl-Z in the
|
||||
new REPL. Patch by Pablo Galindo
|
||||
- gh-120346: Respect PYTHON_BASIC_REPL when running in
|
||||
interative inspect mode (python -i). Patch by Pablo Galindo
|
||||
- gh-93691: Fix source locations of instructions generated
|
||||
for the iterator of a for statement.
|
||||
- gh-120198: Fix a crash when multiple threads read and write
|
||||
to the same __class__ of an object concurrently.
|
||||
- gh-120298: Fix use-after free in list_richcompare_impl
|
||||
which can be invoked via some specificly tailored evil
|
||||
input.
|
||||
- gh-119666: Fix a compiler crash in the case where two
|
||||
comprehensions in class scope both reference __class__.
|
||||
- gh-120225: Fix crash in compiler on empty block at end of
|
||||
exception handler.
|
||||
- gh-119933: Improve SyntaxError messages for invalid
|
||||
expressions in a type parameters bound, a type parameter
|
||||
constraint tuple or a default type parameter. Patch by
|
||||
Bénédikt Tran
|
||||
- bpo-24766: Fix handling of doc argument to subclasses of
|
||||
property
|
||||
* Library
|
||||
- gh-119614: Fix truncation of strings with embedded null
|
||||
characters in some internal operations in tkinter.
|
||||
- gh-120910: When reading installed files from an egg, use
|
||||
relative_to(walk_up=True) to honor files installed outside
|
||||
of the installation root.
|
||||
- gh-101830: Accessing the tkinter object’s string
|
||||
representation no longer converts the underlying Tcl object
|
||||
to a string on Windows.
|
||||
- gh-120811: Fix possible memory leak in
|
||||
contextvars.Context.run().
|
||||
- gh-120769: Make empty line in pdb repeats the last command
|
||||
even when the command is from cmdqueue.
|
||||
- gh-120732: Fix name passing to unittest.mock.Mock object
|
||||
when using unittest.mock.create_autospec().
|
||||
- gh-120683: Fix an error in logging.LogRecord, when the
|
||||
integer part of the timestamp is rounded up, while the
|
||||
millisecond calculation truncates, causing the log
|
||||
timestamp to be wrong by up to 999 ms (affected roughly 1
|
||||
in 8 million timestamps).
|
||||
- gh-120633: Move scrollbar and remove tear-off menus in
|
||||
turtledemo.
|
||||
- gh-120541: Improve the prompt in the “less” pager when
|
||||
help() is called with non-string argument.
|
||||
- gh-120495: Fix incorrect exception handling in Tab
|
||||
Nanny. Patch by Wulian233.
|
||||
- gh-120381: Correct inspect.ismethoddescriptor() to
|
||||
check also for the lack of __delete__(). Patch by Jan
|
||||
Kaliszewski.
|
||||
- gh-90425: The OS byte in gzip headers is now always set to
|
||||
255 when using gzip.compress().
|
||||
- gh-120343: Fix column offset reporting for tokens that come
|
||||
after multiline f-strings in the tokenize module.
|
||||
- gh-119600: Fix unittest.mock.patch() to not read attributes
|
||||
of the target when new_callable is set. Patch by Robert
|
||||
Collins.
|
||||
- gh-114053: Fix erroneous NameError when calling
|
||||
inspect.get_annotations() with eval_str=True` on a class
|
||||
that made use of PEP 695 type parameters in a module that
|
||||
had from __future__ import annotations at the top of the
|
||||
file. Patch by Alex Waygood.
|
||||
- gh-120268: Prohibit passing None to pure-Python
|
||||
datetime.date.fromtimestamp() to achieve consistency with
|
||||
C-extension implementation.
|
||||
- gh-120244: Fix memory leak in re.sub() when the replacement
|
||||
string contains backreferences.
|
||||
- gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0.
|
||||
- gh-71587: Fix crash in C version of
|
||||
datetime.datetime.strptime() when called again on the
|
||||
restarted interpreter.
|
||||
- gh-120161: datetime no longer crashes in certain complex
|
||||
reference cycle situations.
|
||||
- gh-119698: Fix symtable.Class.get_methods() and document
|
||||
its behaviour. Patch by Bénédikt Tran.
|
||||
- gh-120121: Add concurrent.futures.InvalidStateError to
|
||||
module’s __all__.
|
||||
- gh-119933: Add the symtable.SymbolTableType
|
||||
enumeration to represent the possible outputs of the
|
||||
symtable.SymbolTable.get_type method. Patch by Bénédikt
|
||||
Tran.
|
||||
- gh-120108: Fix calling copy.deepcopy() on ast trees
|
||||
that have been modified to have references to parent
|
||||
nodes. Patch by Jelle Zijlstra.
|
||||
- gh-112672: Support building tkinter with Tcl 9.0.
|
||||
- gh-65454: unittest.mock.Mock.attach_mock() no longer
|
||||
triggers a call to a PropertyMock being attached.
|
||||
- gh-81936: help() and showtopic() methods now respect a
|
||||
configured output argument to pydoc.Helper and not use the
|
||||
pager in such cases. Patch by Enrico Tröger.
|
||||
- gh-119577: The DeprecationWarning emitted when testing
|
||||
the truth value of an xml.etree.ElementTree.Element now
|
||||
describes unconditionally returning True in a future
|
||||
version rather than raising an exception in Python 3.14.
|
||||
- gh-118908: Limit exposed globals from internal imports and
|
||||
definitions on new REPL startup. Patch by Eugene Triguba
|
||||
and Pablo Galindo.
|
||||
- gh-119506: Fix io.TextIOWrapper.write() method breaks
|
||||
internal buffer when the method is called again during
|
||||
flushing internal buffer.
|
||||
* Build
|
||||
- gh-120671: Fix failing configure tests due to a missing
|
||||
space when appending to CFLAGS.
|
||||
- gh-120602: Correctly handle LLVM installs
|
||||
with LLVM_VERSION_SUFFIX when building with
|
||||
--enable-experimental-jit.
|
||||
- gh-120326: On Windows, fix build error when --disable-gil
|
||||
and --experimental-jit options are combined.
|
||||
- gh-120291: Make the python-config shell script compatible
|
||||
with non-bash shells.
|
||||
* C API
|
||||
- gh-120858: PyDict_Next() no longer locks the dictionary in
|
||||
the free-threaded build. The locking needs to be done by
|
||||
the caller around the entire iteration loop.
|
||||
- gh-119344: The critical section API is now public as part
|
||||
of the non-limited C API.
|
||||
- gh-118789: Add
|
||||
PyUnstable_Object_ClearWeakRefsNoCallbacks(), which clears
|
||||
weakrefs without calling their callbacks.
|
||||
- gh-117511: Make the PyMutex public in the non-limited C
|
||||
API.
|
||||
- Readjust patches:
|
||||
- F00251-change-user-install-location.patch
|
||||
- bpo-31046_ensurepip_honours_prefix.patch
|
||||
- fix_configure_rst.patch
|
||||
- python-3.3.0b1-fix_date_time_compiler.patch
|
||||
- subprocess-raise-timeout.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 09:59:51 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user