Change History (4)
comment:1 by , 7 months ago
comment:2 by , 7 months ago
| Priority: | normal → high |
|---|
comment:4 by , 5 months ago
SA-12.3-018 issued.
Going to create a ticket to backport the CVE fix from BLFS to LFS.
Note:
See TracTickets
for help on using tickets.

What's New in Python 3.13.3 final?
Release date: 2025-04-08*
macOS
Windows
pylauncher <PC/launcher2.c>correctly detects a BOM when searching for the shebang. Fix by Chris Eibl.Tools/Demos
msgfmtno longer adds thePOT-Creation-Dateto generated.mofiles for consistency with GNUmsgfmt.msgctxtwhen compiling messages in :program:msgfmt.Tests
test_ssl.test_dh_paramsis skipped if the underlying TLS library does not support finite-field ephemeral Diffie-Hellman.TERMvariable in the testing environment.Security
!tempfile.SpooledTemporaryFile.writelines. Previously, disk spillover was only checked after the lines iterator had been exhausted. This is now done after each line is written.Library
_interpreters.run_string._interpreters.run_stringon string subclasses._PYTHON_SUBPROCESS_USE_POSIX_SPAWNenvironment variable knob in :mod:subprocessto control the use of :func:os.posix_spawn.!__new__by decorator :class:warnings.deprecated. Patch by Xuehai Pan.socketaddress structures with uninitialized members. Now all structure members are initialized with zeroes by default.contextvars.ContextVarwith weird unahashable string names.socket: Fix code parsing AF_BLUETOOTH socket addresses.gzip.GzipFilewith a filename fails, for example when passing an invalidcompresslevel.asyncio.warnings.warn_explicit.difflib.HtmlDiff.PyConfig.use_system_loggerattribute, introduced in Python 3.13.2, has been removed. The introduction of this attribute inadvertently introduced an ABI breakage on macOS and iOS. The use of the system logger is now enabled by default on iOS, and disabled by default on macOS.contains, values, and pseudo-members for :class:enum.Flag.datetime.time.fromisoformatto reject times with spaces in fractional part (for example,12:34:56.400 +02:00), matching the C implementation... index::directives from the :mod:uuidmodule documentation. These directives previously created entries in the general index for :func:~uuid.getnodeas well as the :func:~uuid.uuid1, :func:~uuid.uuid3, :func:~uuid.uuid4, and :func:~uuid.uuid5constructor functions.random.sampleallowing the *counts* parameter to specify an empty population. So now,sample([], 0, counts=[])andsample('abc', k=0, counts=[0, 0, 0])both give the same result assample([], 0).traceback.print_last().powwith only :class:~decimal.Decimalthird argument.subprocessmodule lazy as this was causing errors duringdelfinalizers calling methods such asterminate, orkill, orsend_signal.TypeErrorin :meth:inspect.Signature.bindfor positional-only arguments provided by keyword when a variadic keyword argument (e.g.kwargs) is present.!_hashlib.hmac_newand :func:!_hashlib.hmac_digest. Patch by Bénédikt Tran.!asyncio.AbstractEventloop.run_foreverwhen another loop is already running.gzip.GzipFileraising an unraisable exception during garbage collection when referring to a temporary object by breaking the reference loop with :mod:weakref.functools.singledispatchmethodcaching introduced in :gh:85160.importlib.abc.Loader.load_module.localemodule to match the latest X Org locale alias mapping and support new locales in Glibc 2.41.sqlite3.Rowobjects could segfault if their inherited :attr:~sqlite3.Cursor.descriptionwas set toNone. Patch by Erlend Aasland.zipfileby name. Reading duplicated entries (except the last one) byZipInfonow emits a warning instead of raising an exception.pydocfor methods with themoduleattribute equal toNone.check_homeargument of :func:sysconfig.is_python_buildto Python 3.15.hashlib.sha256under :term:free threading.mimetypes.guess_typeto use default mapping for emptyContent-Typein registry.asyncio.loop.create_task, :func:asyncio.create_taskand :func:asyncio.TaskGroup.create_task, by passing on all *kwargs* to the task factory set by :func:asyncio.loop.set_task_factory.PyREPLon Windows to support more keybindings, like the :kbd:Control-←and :kbd:Control-→word-skipping keybindings and those with meta (i.e. :kbd:Alt), e.g. :kbd:Alt-dtokill-wordor :kbd:Alt-Backspacebackward-kill-word.xml.etree.ElementTree: Fix a crash in :meth:Element.find <xml.etree.ElementTree.Element.find>, :meth:Element.findtext <xml.etree.ElementTree.Element.findtext>and :meth:Element.findall <xml.etree.ElementTree.Element.findall>when the tag to find implements an :meth:~object.__eq__method mutating the element being queried. Patch by Bénédikt Tran.secureargument of :class:logging.handlers.SMTPHandler.xml.etree.ElementTree: Fix a crash in :meth:Element.remove <xml.etree.ElementTree.Element.remove>when the element is concurrently mutated. Patch by Bénédikt Tran.os.confstr, :any:os.pathconfand :any:os.sysconfon iOS and Android.IDLE
Documentation
asyncio.Futureand :class:asyncio.Taskin generic classes list.and :c:func:PyUnicode_RPartition`.Core and Builtins
!list.appendas an unbound method.descriptorobject in a function where a bound method descriptor was used._PyMem_FreeDelayedin :term:free-threaded <free threading>build.anextfailing on sync :meth:~object.__anext__raising an exception.sys.monitoringinstrumentation while registering callback._PyModule_IsPossiblyShadowingfree threadingbuild when constructing a :class:codeobject with :attr:~codeobject.co_conststhat contains instances of types that are not otherwise generated by the bytecode compiler.free threaded <free threading>build when resizing a shared list or dictionary from multiple short-lived threads.columnandend_columnin :mod:astlocations.PyRefTracer_DESTROYnot being sent from :file:Python/ceval.cPy_DECREF().UnicodeDecodeErrororSystemErrorto be raised when using f-strings withlambdaexpressions with non-ASCII characters. Patch by Pablo Galindosysmodule attributes.localsinside an inline comprehension that uses the same local variable as the outer frame scope where the variable is a free or cell var.sre.c.free threadingbuild whenrepr(set)is called concurrently withset.clear().SystemExitnot getting returned by the REPL._Py_qsbr_reservein the free threading build.MemoryErrorin the free threaded build.C API
, :c:func:PyGC_Disable()`, :c:func:`PyGC_IsEnabled()` to use atomic operation for thread-safety at free-threading build. Patch by Donghee Na.Build
CCandCFLAGSvariables to thedtracecommand when utilizing SystemTap on Linux.KeyErrorwhen handling object sections during JIT building process.Python.his included beforestdbool.hunlesspyconfig.his included before or in some platform-specific contexts._Py_NO_SANITIZE_UNDEFINEDwhen compiling with a recent GCC version and undefined sanitizer enabled.test_embedfrom PGO training, whose contribution in recent versions is considered to be ignorable.