Matej Cepl
d8ac67fc2d
- Converting between int and str in bases other than 2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now raises a ValueError if the number of digits in string form is above a limit to avoid potential denial of service attacks due to the algorithmic complexity. This is a mitigation for CVE-2020-10735. This new limit can be configured or disabled by environment variable, command line flag, or sys APIs. See the integer string conversion length limitation documentation. The default limit is 4300 digits in string form. - Fix case of undefined behavior in ceval.c - Do not expose KeyWrapper in _functools. - Ensure that tracing, sys.setrace(), is turned on immediately. In pre-release versions of 3.11, some tracing events might have been lost when turning on tracing in a __del__ method or interrupt. - Fix use after free in trace refs build mode. Patch by Kumar Aditya. - When loading a file with invalid UTF-8 inside a multi-line string, a correct SyntaxError is emitted. - Make sure that incomplete frames do not show up in tracemalloc traces. - Remove two cases of undefined behavior, by adding NULL checks. - Fix possible NULL pointer dereference in _PyThread_CurrentFrames. Patch by Kumar Aditya. - Fix AttributeError missing name and obj attributes in object.__getattribute__(). Patch by Philip Georgi. - Loading a file with invalid UTF-8 will now report the broken OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=32
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
---
|
|
Doc/using/configure.rst | 3 ---
|
|
Misc/NEWS | 2 +-
|
|
2 files changed, 1 insertion(+), 4 deletions(-)
|
|
|
|
--- a/Doc/using/configure.rst
|
|
+++ b/Doc/using/configure.rst
|
|
@@ -41,7 +41,6 @@ General Options
|
|
|
|
See :data:`sys.int_info.bits_per_digit <sys.int_info>`.
|
|
|
|
-.. cmdoption:: --with-cxx-main
|
|
.. cmdoption:: --with-cxx-main=COMPILER
|
|
|
|
Compile the Python ``main()`` function and link Python executable with C++
|
|
@@ -511,13 +510,11 @@ macOS Options
|
|
|
|
See ``Mac/README.rst``.
|
|
|
|
-.. cmdoption:: --enable-universalsdk
|
|
.. cmdoption:: --enable-universalsdk=SDKDIR
|
|
|
|
Create a universal binary build. *SDKDIR* specifies which macOS SDK should
|
|
be used to perform the build (default is no).
|
|
|
|
-.. cmdoption:: --enable-framework
|
|
.. cmdoption:: --enable-framework=INSTALLDIR
|
|
|
|
Create a Python.framework rather than a traditional Unix install. Optional
|
|
--- a/Misc/NEWS
|
|
+++ b/Misc/NEWS
|
|
@@ -6636,7 +6636,7 @@ C API
|
|
- bpo-40939: Removed documentation for the removed ``PyParser_*`` C API.
|
|
|
|
- bpo-43795: The list in :ref:`stable-abi-list` now shows the public name
|
|
- :c:struct:`PyFrameObject` rather than ``_frame``. The non-existing entry
|
|
+ :c:type:`PyFrameObject` rather than ``_frame``. The non-existing entry
|
|
``_node`` no longer appears in the list.
|
|
|
|
- bpo-44378: :c:func:`Py_IS_TYPE` no longer uses :c:func:`Py_TYPE` to avoid
|