Overview
Request 1155891 accepted
- Update to 3.11.8:
* Security
* gh-113659: Skip .pth files with names starting with a dot or
hidden file attribute.
* Core and Builtins
* gh-114887: Changed socket type validation in
create_datagram_endpoint() to accept all non-stream sockets.
This fixes a regression in compatibility with raw sockets.
* gh-114388: Fix a RuntimeWarning emitted when assign an
integer-like value that is not an instance of int to an
attribute that corresponds to a C struct member of type T_UINT
and T_ULONG. Fix a double RuntimeWarning emitted when assign a
negative integer value to an attribute that corresponds to a C
struct member of type T_UINT.
* gh-89811: Check for a valid tp_version_tag before performing
bytecode specializations that rely on this value being usable.
* gh-113602: Fix an error that was causing the parser to try to
overwrite existing errors and crashing in the process. Patch by
Pablo Galindo
* gh-113566: Fix a 3.11-specific crash when the repr of a Future
is requested after the module has already been
garbage-collected.
* gh-106905: Use per AST-parser state rather than global state to
track recursion depth within the AST parser to prevent potential
race condition due to simultaneous parsing.
* The issue primarily showed up in 3.11 by multithreaded users of
ast.parse(). In 3.12 a change to when garbage collection can be
triggered prevented the race condition from occurring.
* gh-112716: Fix SystemError in the import statement and in
__reduce__() methods of builtin types when __builtins__ is not a
- Created by vizhestkov
- In state accepted
- Supersedes 1155880
Should Revert-gh105127-left-tests.patch
be deleted?
Thanks for the catch. The reference to it was really missing and the patch was not deleted by accident.
Could we also use autopatch
instead using the patchXX
directives?
No, the patch apply is conditional there, actually we can move the condition to the patch definition section, but I would prefer to have the spec aligned to the source package to reduce the modifications.
Request History
vizhestkov created request
- Update to 3.11.8:
* Security
* gh-113659: Skip .pth files with names starting with a dot or
hidden file attribute.
* Core and Builtins
* gh-114887: Changed socket type validation in
create_datagram_endpoint() to accept all non-stream sockets.
This fixes a regression in compatibility with raw sockets.
* gh-114388: Fix a RuntimeWarning emitted when assign an
integer-like value that is not an instance of int to an
attribute that corresponds to a C struct member of type T_UINT
and T_ULONG. Fix a double RuntimeWarning emitted when assign a
negative integer value to an attribute that corresponds to a C
struct member of type T_UINT.
* gh-89811: Check for a valid tp_version_tag before performing
bytecode specializations that rely on this value being usable.
* gh-113602: Fix an error that was causing the parser to try to
overwrite existing errors and crashing in the process. Patch by
Pablo Galindo
* gh-113566: Fix a 3.11-specific crash when the repr of a Future
is requested after the module has already been
garbage-collected.
* gh-106905: Use per AST-parser state rather than global state to
track recursion depth within the AST parser to prevent potential
race condition due to simultaneous parsing.
* The issue primarily showed up in 3.11 by multithreaded users of
ast.parse(). In 3.12 a change to when garbage collection can be
triggered prevented the race condition from occurring.
* gh-112716: Fix SystemError in the import statement and in
__reduce__() methods of builtin types when __builtins__ is not a
ygutierrez accepted request