Python 3.11.3

This commit is contained in:
Pablo Galindo 2023-04-04 23:21:41 +01:00
parent 6abd0486bb
commit f3909b8bc8
50 changed files with 576 additions and 208 deletions

View file

@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 11
#define PY_MICRO_VERSION 2
#define PY_MICRO_VERSION 3
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
#define PY_VERSION "3.11.2+"
#define PY_VERSION "3.11.3"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Feb 7 13:37:35 2023
# Autogenerated by Sphinx on Tue Apr 4 23:22:02 2023
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -1134,10 +1134,11 @@ topics = {'assert': 'The "assert" statement\n'
'future, a\n'
' check may be added to prevent this.\n'
'\n'
'* Nonempty *__slots__* does not work for classes derived '
'from\n'
' “variable-length” built-in types such as "int", '
'"bytes" and "tuple".\n'
'* "TypeError" will be raised if nonempty *__slots__* are '
'defined for a\n'
' class derived from a ""variable-length" built-in type" '
'such as\n'
' "int", "bytes", and "tuple".\n'
'\n'
'* Any non-string *iterable* may be assigned to '
'*__slots__*.\n'
@ -2499,42 +2500,33 @@ topics = {'assert': 'The "assert" statement\n'
'alive\n'
'until the next garbage collection occurs.\n'
'\n'
'Before an "except" clauses suite is executed, details about '
'the\n'
'exception are stored in the "sys" module and can be accessed '
'via\n'
'"sys.exc_info()". "sys.exc_info()" returns a 3-tuple consisting '
'of the\n'
'exception class, the exception instance and a traceback object '
'(see\n'
'section The standard type hierarchy) identifying the point in '
'the\n'
'program where the exception occurred. The details about the '
'exception\n'
'accessed via "sys.exc_info()" are restored to their previous '
'values\n'
'when leaving an exception handler:\n'
'Before an "except" clauses suite is executed, the exception is '
'stored\n'
'in the "sys" module, where it can be accessed from within the '
'body of\n'
'the "except" clause by calling "sys.exception()". When leaving '
'an\n'
'exception handler, the exception stored in the "sys" module is '
'reset\n'
'to its previous value:\n'
'\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
' >>> print(sys.exception())\n'
' None\n'
' >>> try:\n'
' ... raise TypeError\n'
' ... except:\n'
' ... print(sys.exc_info())\n'
' ... print(repr(sys.exception()))\n'
' ... try:\n'
' ... raise ValueError\n'
' ... except:\n'
' ... print(sys.exc_info())\n'
' ... print(sys.exc_info())\n'
' ... print(repr(sys.exception()))\n'
' ... print(repr(sys.exception()))\n'
' ...\n'
" (<class 'TypeError'>, TypeError(), <traceback object at "
'0x10efad080>)\n'
" (<class 'ValueError'>, ValueError(), <traceback object at "
'0x10efad040>)\n'
" (<class 'TypeError'>, TypeError(), <traceback object at "
'0x10efad080>)\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
' TypeError()\n'
' ValueError()\n'
' TypeError()\n'
' >>> print(sys.exception())\n'
' None\n'
'\n'
'\n'
'"except*" clause\n'
@ -3081,7 +3073,7 @@ topics = {'assert': 'The "assert" statement\n'
'AS\n'
'pattern binds the subject to the name on the right of the as '
'keyword\n'
'and succeeds. "capture_pattern" cannot be a a "_".\n'
'and succeeds. "capture_pattern" cannot be a "_".\n'
'\n'
'In simple terms "P as NAME" will match with "P", and on success '
'it\n'
@ -4533,7 +4525,7 @@ topics = {'assert': 'The "assert" statement\n'
'objects and\n'
' implements an "__eq__()" method, it should not '
'implement\n'
' "__hash__()", since the implementation of hashable '
' "__hash__()", since the implementation of *hashable* '
'collections\n'
' requires that a keys hash value is immutable (if the '
'objects hash\n'
@ -4684,7 +4676,7 @@ topics = {'assert': 'The "assert" statement\n'
'scripts. For\n'
'example:\n'
'\n'
' python3 -m pdb myscript.py\n'
' python -m pdb myscript.py\n'
'\n'
'When invoked as a script, pdb will automatically enter '
'post-mortem\n'
@ -4704,7 +4696,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'New in version 3.7: "pdb.py" now accepts a "-m" option that '
'execute\n'
'modules similar to the way "python3 -m" does. As with a script, '
'modules similar to the way "python -m" does. As with a script, '
'the\n'
'debugger will pause execution just before the first line of the\n'
'module.\n'
@ -4768,8 +4760,8 @@ topics = {'assert': 'The "assert" statement\n'
'object)\n'
' under debugger control. When "runeval()" returns, it returns '
'the\n'
' value of the expression. Otherwise this function is similar '
'to\n'
' value of the *expression*. Otherwise this function is '
'similar to\n'
' "run()".\n'
'\n'
'pdb.runcall(function, *args, **kwds)\n'
@ -5031,14 +5023,15 @@ topics = {'assert': 'The "assert" statement\n'
'ignore bpnumber [count]\n'
'\n'
' Set the ignore count for the given breakpoint number. If '
'count is\n'
' omitted, the ignore count is set to 0. A breakpoint becomes '
'active\n'
' when the ignore count is zero. When non-zero, the count is\n'
' decremented each time the breakpoint is reached and the '
'breakpoint\n'
' is not disabled and any associated condition evaluates to '
'true.\n'
'*count*\n'
' is omitted, the ignore count is set to 0. A breakpoint '
'becomes\n'
' active when the ignore count is zero. When non-zero, the '
'*count*\n'
' is decremented each time the breakpoint is reached and the\n'
' breakpoint is not disabled and any associated condition '
'evaluates\n'
' to true.\n'
'\n'
'condition bpnumber [condition]\n'
'\n'
@ -5088,7 +5081,7 @@ topics = {'assert': 'The "assert" statement\n'
' breakpoint—which could have its own command list, leading to\n'
' ambiguities about which list to execute.\n'
'\n'
' If you use the silent command in the command list, the '
' If you use the "silent" command in the command list, the '
'usual\n'
' message about stopping at a breakpoint is not printed. This '
'may be\n'
@ -5123,11 +5116,10 @@ topics = {'assert': 'The "assert" statement\n'
'number\n'
' greater than the current one is reached.\n'
'\n'
' With a line number, continue execution until a line with a '
'number\n'
' greater or equal to that is reached. In both cases, also '
'stop when\n'
' the current frame returns.\n'
' With *lineno*, continue execution until a line with a number\n'
' greater or equal to *lineno* is reached. In both cases, also '
'stop\n'
' when the current frame returns.\n'
'\n'
' Changed in version 3.2: Allow giving an explicit line '
'number.\n'
@ -5191,8 +5183,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'p expression\n'
'\n'
' Evaluate the *expression* in the current context and print '
'its\n'
' Evaluate *expression* in the current context and print its '
'value.\n'
'\n'
' Note:\n'
@ -5203,26 +5194,26 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'pp expression\n'
'\n'
' Like the "p" command, except the value of the expression is '
' Like the "p" command, except the value of *expression* is '
'pretty-\n'
' printed using the "pprint" module.\n'
'\n'
'whatis expression\n'
'\n'
' Print the type of the *expression*.\n'
' Print the type of *expression*.\n'
'\n'
'source expression\n'
'\n'
' Try to get source code for the given object and display it.\n'
' Try to get source code of *expression* and display it.\n'
'\n'
' New in version 3.2.\n'
'\n'
'display [expression]\n'
'\n'
' Display the value of the expression if it changed, each time\n'
' Display the value of *expression* if it changed, each time\n'
' execution stops in the current frame.\n'
'\n'
' Without expression, list all display expressions for the '
' Without *expression*, list all display expressions for the '
'current\n'
' frame.\n'
'\n'
@ -5230,9 +5221,9 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'undisplay [expression]\n'
'\n'
' Do not display the expression any more in the current frame.\n'
' Without expression, clear all display expressions for the '
'current\n'
' Do not display *expression* anymore in the current frame. '
'Without\n'
' *expression*, clear all display expressions for the current '
'frame.\n'
'\n'
' New in version 3.2.\n'
@ -5249,15 +5240,15 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'alias [name [command]]\n'
'\n'
' Create an alias called *name* that executes *command*. The '
'command\n'
' must *not* be enclosed in quotes. Replaceable parameters can '
'be\n'
' indicated by "%1", "%2", and so on, while "%*" is replaced by '
'all\n'
' the parameters. If no command is given, the current alias '
'for\n'
' *name* is shown. If no arguments are given, all aliases are '
' Create an alias called *name* that executes *command*. The\n'
' *command* must *not* be enclosed in quotes. Replaceable '
'parameters\n'
' can be indicated by "%1", "%2", and so on, while "%*" is '
'replaced\n'
' by all the parameters. If *command* is omitted, the current '
'alias\n'
' for *name* is shown. If no arguments are given, all aliases '
'are\n'
' listed.\n'
'\n'
' Aliases may be nested and can contain anything that can be '
@ -5277,14 +5268,14 @@ topics = {'assert': 'The "assert" statement\n'
' in the ".pdbrc" file):\n'
'\n'
' # Print instance variables (usage "pi classInst")\n'
' alias pi for k in %1.__dict__.keys(): '
'print("%1.",k,"=",%1.__dict__[k])\n'
' alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = '
'{%1.__dict__[k]}")\n'
' # Print instance variables in self\n'
' alias ps pi self\n'
'\n'
'unalias name\n'
'\n'
' Delete the specified alias.\n'
' Delete the specified alias *name*.\n'
'\n'
'! statement\n'
'\n'
@ -5304,12 +5295,13 @@ topics = {'assert': 'The "assert" statement\n'
'run [args ...]\n'
'restart [args ...]\n'
'\n'
' Restart the debugged Python program. If an argument is '
'supplied,\n'
' it is split with "shlex" and the result is used as the new\n'
' "sys.argv". History, breakpoints, actions and debugger '
'options are\n'
' preserved. "restart" is an alias for "run".\n'
' Restart the debugged Python program. If *args* is supplied, '
'it is\n'
' split with "shlex" and the result is used as the new '
'"sys.argv".\n'
' History, breakpoints, actions and debugger options are '
'preserved.\n'
' "restart" is an alias for "run".\n'
'\n'
'q(uit)\n'
'\n'
@ -5318,11 +5310,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'debug code\n'
'\n'
' Enter a recursive debugger that steps through the code '
'argument\n'
' (which is an arbitrary expression or statement to be executed '
'in\n'
' the current environment).\n'
' Enter a recursive debugger that steps through *code* (which '
'is an\n'
' arbitrary expression or statement to be executed in the '
'current\n'
' environment).\n'
'\n'
'retval\n'
'\n'
@ -6179,7 +6171,8 @@ topics = {'assert': 'The "assert" statement\n'
'The general form of a *standard format specifier* is:\n'
'\n'
' format_spec ::= '
'[[fill]align][sign][z][#][0][width][grouping_option][.precision][type]\n'
'[[fill]align][sign]["z"]["#"]["0"][width][grouping_option]["." '
'precision][type]\n'
' fill ::= <any character>\n'
' align ::= "<" | ">" | "=" | "^"\n'
' sign ::= "+" | "-" | " "\n'
@ -9453,7 +9446,7 @@ topics = {'assert': 'The "assert" statement\n'
' hashable collections. If a class defines mutable objects '
'and\n'
' implements an "__eq__()" method, it should not implement\n'
' "__hash__()", since the implementation of hashable '
' "__hash__()", since the implementation of *hashable* '
'collections\n'
' requires that a keys hash value is immutable (if the '
'objects hash\n'
@ -9990,10 +9983,11 @@ topics = {'assert': 'The "assert" statement\n'
'future, a\n'
' check may be added to prevent this.\n'
'\n'
'* Nonempty *__slots__* does not work for classes derived '
'from\n'
' “variable-length” built-in types such as "int", "bytes" '
'and "tuple".\n'
'* "TypeError" will be raised if nonempty *__slots__* are '
'defined for a\n'
' class derived from a ""variable-length" built-in type" '
'such as\n'
' "int", "bytes", and "tuple".\n'
'\n'
'* Any non-string *iterable* may be assigned to *__slots__*.\n'
'\n'
@ -12635,37 +12629,31 @@ topics = {'assert': 'The "assert" statement\n'
'cycle with the stack frame, keeping all locals in that frame alive\n'
'until the next garbage collection occurs.\n'
'\n'
'Before an "except" clauses suite is executed, details about the\n'
'exception are stored in the "sys" module and can be accessed via\n'
'"sys.exc_info()". "sys.exc_info()" returns a 3-tuple consisting of '
'the\n'
'exception class, the exception instance and a traceback object (see\n'
'section The standard type hierarchy) identifying the point in the\n'
'program where the exception occurred. The details about the '
'exception\n'
'accessed via "sys.exc_info()" are restored to their previous values\n'
'when leaving an exception handler:\n'
'Before an "except" clauses suite is executed, the exception is '
'stored\n'
'in the "sys" module, where it can be accessed from within the body '
'of\n'
'the "except" clause by calling "sys.exception()". When leaving an\n'
'exception handler, the exception stored in the "sys" module is reset\n'
'to its previous value:\n'
'\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
' >>> print(sys.exception())\n'
' None\n'
' >>> try:\n'
' ... raise TypeError\n'
' ... except:\n'
' ... print(sys.exc_info())\n'
' ... print(repr(sys.exception()))\n'
' ... try:\n'
' ... raise ValueError\n'
' ... except:\n'
' ... print(sys.exc_info())\n'
' ... print(sys.exc_info())\n'
' ... print(repr(sys.exception()))\n'
' ... print(repr(sys.exception()))\n'
' ...\n'
" (<class 'TypeError'>, TypeError(), <traceback object at "
'0x10efad080>)\n'
" (<class 'ValueError'>, ValueError(), <traceback object at "
'0x10efad040>)\n'
" (<class 'TypeError'>, TypeError(), <traceback object at "
'0x10efad080>)\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
' TypeError()\n'
' ValueError()\n'
' TypeError()\n'
' >>> print(sys.exception())\n'
' None\n'
'\n'
'\n'
'"except*" clause\n'
@ -14398,7 +14386,7 @@ topics = {'assert': 'The "assert" statement\n'
' New in version 3.10.\n'
'\n'
'Keys views are set-like since their entries are unique and '
'hashable.\n'
'*hashable*.\n'
'If all values are hashable, so that "(key, value)" pairs are '
'unique\n'
'and hashable, then the items view is also set-like. (Values '

466
Misc/NEWS.d/3.11.3.rst Normal file
View file

@ -0,0 +1,466 @@
.. date: 2023-02-08-22-03-04
.. gh-issue: 101727
.. nonce: 9P5eZz
.. release date: 2023-04-04
.. section: Security
Updated the OpenSSL version used in Windows and macOS binary release builds
to 1.1.1t to address CVE-2023-0286, CVE-2022-4303, and CVE-2022-4303 per
`the OpenSSL 2023-02-07 security advisory
<https://www.openssl.org/news/secadv/20230207.txt>`_.
..
.. date: 2023-01-24-16-12-00
.. gh-issue: 101283
.. nonce: 9tqu39
.. section: Security
:class:`subprocess.Popen` now uses a safer approach to find ``cmd.exe`` when
launching with ``shell=True``. Patch by Eryk Sun, based on a patch by Oleg
Iarygin.
..
.. date: 2023-03-18-02-36-39
.. gh-issue: 101975
.. nonce: HwMR1d
.. section: Core and Builtins
Fixed ``stacktop`` value on tracing entries to avoid corruption on garbage
collection.
..
.. date: 2023-03-16-17-24-44
.. gh-issue: 102701
.. nonce: iNGVaS
.. section: Core and Builtins
Fix overflow when creating very large dict.
..
.. date: 2023-03-06-13-05-33
.. gh-issue: 102416
.. nonce: dz6K5f
.. section: Core and Builtins
Do not memoize incorrectly automatically generated loop rules in the parser.
Patch by Pablo Galindo.
..
.. date: 2023-03-04-20-56-12
.. gh-issue: 102356
.. nonce: 07KvUd
.. section: Core and Builtins
Fix a bug that caused a crash when deallocating deeply nested filter
objects. Patch by Marta Gómez Macías.
..
.. date: 2023-03-04-06-48-34
.. gh-issue: 102397
.. nonce: ACJaOf
.. section: Core and Builtins
Fix segfault from race condition in signal handling during garbage
collection. Patch by Kumar Aditya.
..
.. date: 2023-03-02-13-49-21
.. gh-issue: 102281
.. nonce: QCuu2N
.. section: Core and Builtins
Fix potential nullptr dereference and use of uninitialized memory in
fileutils. Patch by Max Bachmann.
..
.. date: 2023-02-24-17-59-39
.. gh-issue: 102126
.. nonce: HTT8Vc
.. section: Core and Builtins
Fix deadlock at shutdown when clearing thread states if any finalizer tries
to acquire the runtime head lock. Patch by Kumar Aditya.
..
.. date: 2023-02-21-23-42-39
.. gh-issue: 102027
.. nonce: fQARG0
.. section: Core and Builtins
Fix SSE2 and SSE3 detection in ``_blake2`` internal module. Patch by Max
Bachmann.
..
.. date: 2023-02-16-23-19-01
.. gh-issue: 101967
.. nonce: Kqr1dz
.. section: Core and Builtins
Fix possible segfault in ``positional_only_passed_as_keyword`` function,
when new list created.
..
.. date: 2023-02-10-07-21-47
.. gh-issue: 101765
.. nonce: MO5LlC
.. section: Core and Builtins
Fix SystemError / segmentation fault in iter ``__reduce__`` when internal
access of ``builtins.__dict__`` keys mutates the iter object.
..
.. date: 2023-02-08-17-13-31
.. gh-issue: 101696
.. nonce: seJhTt
.. section: Core and Builtins
Invalidate type version tag in ``_PyStaticType_Dealloc`` for static types,
avoiding bug where a false cache hit could crash the interpreter. Patch by
Kumar Aditya.
..
.. date: 2023-03-27-19-21-51
.. gh-issue: 102549
.. nonce: NQ6Nlv
.. section: Library
Don't ignore exceptions in member type creation.
..
.. date: 2023-03-23-13-34-33
.. gh-issue: 102947
.. nonce: cTwcpU
.. section: Library
Improve traceback when :func:`dataclasses.fields` is called on a
non-dataclass. Patch by Alex Waygood
..
.. date: 2023-03-22-16-15-18
.. gh-issue: 102780
.. nonce: NEcljy
.. section: Library
The :class:`asyncio.Timeout` context manager now works reliably even when
performing cleanup due to task cancellation. Previously it could raise a
:exc:`~asyncio.CancelledError` instead of an :exc:`~asyncio.TimeoutError` in
such cases.
..
.. date: 2023-03-18-14-59-21
.. gh-issue: 88965
.. nonce: kA70Km
.. section: Library
typing: Fix a bug relating to substitution in custom classes generic over a
:class:`~typing.ParamSpec`. Previously, if the ``ParamSpec`` was substituted
with a parameters list that itself contained a :class:`~typing.TypeVar`, the
``TypeVar`` in the parameters list could not be subsequently substituted.
This is now fixed.
Patch by Nikita Sobolev.
..
.. date: 2023-02-28-09-52-25
.. gh-issue: 101979
.. nonce: or3hXV
.. section: Library
Fix a bug where parentheses in the ``metavar`` argument to
:meth:`argparse.ArgumentParser.add_argument` were dropped. Patch by Yeojin
Kim.
..
.. date: 2023-02-23-15-06-01
.. gh-issue: 102179
.. nonce: P6KQ4c
.. section: Library
Fix :func:`os.dup2` error message for negative fds.
..
.. date: 2023-02-21-10-05-33
.. gh-issue: 101961
.. nonce: 7e56jh
.. section: Library
For the binary mode, :func:`fileinput.hookcompressed` doesn't set the
``encoding`` value even if the value is ``None``. Patch by Gihwan Kim.
..
.. date: 2023-02-21-07-15-41
.. gh-issue: 101936
.. nonce: QVOxHH
.. section: Library
The default value of ``fp`` becomes :class:`io.BytesIO` if
:exc:`~urllib.error.HTTPError` is initialized without a designated ``fp``
parameter. Patch by Long Vo.
..
.. date: 2023-02-20-16-47-56
.. gh-issue: 102069
.. nonce: FS7f1j
.. section: Library
Fix ``__weakref__`` descriptor generation for custom dataclasses.
..
.. date: 2023-02-17-20-24-15
.. gh-issue: 101566
.. nonce: FjgWBt
.. section: Library
In zipfile, apply fix for extractall on the underlying zipfile after being
wrapped in ``Path``.
..
.. date: 2023-02-14-09-08-48
.. gh-issue: 101892
.. nonce: FMos8l
.. section: Library
Callable iterators no longer raise :class:`SystemError` when the callable
object exhausts the iterator but forgets to either return a sentinel value
or raise :class:`StopIteration`.
..
.. date: 2023-02-11-13-23-29
.. gh-issue: 97786
.. nonce: QjvQ1B
.. section: Library
Fix potential undefined behaviour in corner cases of floating-point-to-time
conversions.
..
.. date: 2023-02-10-16-02-29
.. gh-issue: 101517
.. nonce: r7S2u8
.. section: Library
Fixed bug where :mod:`bdb` looks up the source line with :mod:`linecache`
with a ``lineno=None``, which causes it to fail with an unhandled exception.
..
.. date: 2023-02-09-19-40-41
.. gh-issue: 101673
.. nonce: mX-Ppq
.. section: Library
Fix a :mod:`pdb` bug where ``ll`` clears the changes to local variables.
..
.. date: 2022-09-19-08-12-58
.. gh-issue: 96931
.. nonce: x0WQhh
.. section: Library
Fix incorrect results from :meth:`ssl.SSLSocket.shared_ciphers`
..
.. date: 2022-09-05-12-17-34
.. gh-issue: 88233
.. nonce: gff9qJ
.. section: Library
Correctly preserve "extra" fields in ``zipfile`` regardless of their
ordering relative to a zip64 "extra."
..
.. date: 2022-08-27-10-35-50
.. gh-issue: 96127
.. nonce: 8RdLre
.. section: Library
``inspect.signature`` was raising ``TypeError`` on call with mock objects.
Now it correctly returns ``(*args, **kwargs)`` as infered signature.
..
.. date: 2022-07-30-23-01-43
.. gh-issue: 95495
.. nonce: RA-q1d
.. section: Library
When built against OpenSSL 3.0, the :mod:`ssl` module had a bug where it
reported unauthenticated EOFs (i.e. without close_notify) as a clean
TLS-level EOF. It now raises :exc:`~ssl.SSLEOFError`, matching the behavior
in previous versions of OpenSSL. The :attr:`~ssl.SSLContext.options`
attribute on :class:`~ssl.SSLContext` also no longer includes
:data:`~ssl.OP_IGNORE_UNEXPECTED_EOF` by default. This option may be set to
specify the previous OpenSSL 3.0 behavior.
..
.. date: 2022-06-30-21-28-41
.. gh-issue: 94440
.. nonce: LtgX0d
.. section: Library
Fix a :mod:`concurrent.futures.process` bug where ``ProcessPoolExecutor``
shutdown could hang after a future has been quickly submitted and canceled.
..
.. date: 2023-03-29-14-51-39
.. gh-issue: 103112
.. nonce: XgGSEO
.. section: Documentation
Add docstring to :meth:`http.client.HTTPResponse.read` to fix ``pydoc``
output.
..
.. date: 2023-02-19-10-33-01
.. gh-issue: 85417
.. nonce: kYO8u3
.. section: Documentation
Update :mod:`cmath` documentation to clarify behaviour on branch cuts.
..
.. date: 2023-02-07-21-43-24
.. gh-issue: 97725
.. nonce: cuY7Cd
.. section: Documentation
Fix :meth:`asyncio.Task.print_stack` description for ``file=None``. Patch by
Oleg Iarygin.
..
.. date: 2023-03-23-23-25-18
.. gh-issue: 102980
.. nonce: Zps4QF
.. section: Tests
Improve test coverage on :mod:`pdb`.
..
.. date: 2023-03-08-13-54-20
.. gh-issue: 102537
.. nonce: Vfplpb
.. section: Tests
Adjust the error handling strategy in
``test_zoneinfo.TzPathTest.python_tzpath_context``. Patch by Paul Ganssle.
..
.. date: 2023-02-11-20-28-08
.. gh-issue: 89792
.. nonce: S-Y5BZ
.. section: Tests
``test_tools`` now copies up to 10x less source data to a temporary
directory during the ``freeze`` test by ignoring git metadata and other
artifacts. It also limits its python build parallelism based on
os.cpu_count instead of hard coding it as 8 cores.
..
.. date: 2023-01-27-18-10-40
.. gh-issue: 101377
.. nonce: IJGpqh
.. section: Tests
Improved test_locale_calendar_formatweekday of calendar.
..
.. date: 2023-03-15-02-03-39
.. gh-issue: 102711
.. nonce: zTkjts
.. section: Build
Fix ``-Wstrict-prototypes`` compiler warnings.
..
.. date: 2023-02-13-16-32-50
.. gh-issue: 101849
.. nonce: 7lm_53
.. section: Windows
Ensures installer will correctly upgrade existing ``py.exe`` launcher
installs.
..
.. date: 2023-02-10-14-26-05
.. gh-issue: 101763
.. nonce: RPaj7r
.. section: Windows
Updates copy of libffi bundled with Windows installs to 3.4.4.
..
.. date: 2023-02-09-22-09-27
.. gh-issue: 101759
.. nonce: zFlqSH
.. section: Windows
Update Windows installer to SQLite 3.40.1.
..
.. date: 2023-02-07-18-22-54
.. gh-issue: 101614
.. nonce: NjVP0n
.. section: Windows
Correctly handle extensions built against debug binaries that reference
``python3_d.dll``.
..
.. date: 2023-04-04-13-37-28
.. gh-issue: 103207
.. nonce: x0vvQp
.. section: macOS
Add instructions to the macOS installer welcome display on how to workaround
the macOS 13 Ventura “The installer encountered an error” failure.
..
.. date: 2023-02-09-22-07-17
.. gh-issue: 101759
.. nonce: B0JP2H
.. section: macOS
Update macOS installer to SQLite 3.40.1.

View file

@ -1 +0,0 @@
Fix ``-Wstrict-prototypes`` compiler warnings.

View file

@ -1 +0,0 @@
Invalidate type version tag in ``_PyStaticType_Dealloc`` for static types, avoiding bug where a false cache hit could crash the interpreter. Patch by Kumar Aditya.

View file

@ -1 +0,0 @@
Fix SystemError / segmentation fault in iter ``__reduce__`` when internal access of ``builtins.__dict__`` keys mutates the iter object.

View file

@ -1 +0,0 @@
Fix possible segfault in ``positional_only_passed_as_keyword`` function, when new list created.

View file

@ -1,2 +0,0 @@
Fix SSE2 and SSE3 detection in ``_blake2`` internal module. Patch by Max
Bachmann.

View file

@ -1 +0,0 @@
Fix deadlock at shutdown when clearing thread states if any finalizer tries to acquire the runtime head lock. Patch by Kumar Aditya.

View file

@ -1 +0,0 @@
Fix potential nullptr dereference and use of uninitialized memory in fileutils. Patch by Max Bachmann.

View file

@ -1,2 +0,0 @@
Fix segfault from race condition in signal handling during garbage collection.
Patch by Kumar Aditya.

View file

@ -1,2 +0,0 @@
Fix a bug that caused a crash when deallocating deeply nested filter
objects. Patch by Marta Gómez Macías.

View file

@ -1 +0,0 @@
Do not memoize incorrectly automatically generated loop rules in the parser. Patch by Pablo Galindo.

View file

@ -1 +0,0 @@
Fix overflow when creating very large dict.

View file

@ -1 +0,0 @@
Fixed ``stacktop`` value on tracing entries to avoid corruption on garbage collection.

View file

@ -1,2 +0,0 @@
Fix :meth:`asyncio.Task.print_stack` description for ``file=None``.
Patch by Oleg Iarygin.

View file

@ -1 +0,0 @@
Update :mod:`cmath` documentation to clarify behaviour on branch cuts.

View file

@ -1 +0,0 @@
Add docstring to :meth:`http.client.HTTPResponse.read` to fix ``pydoc`` output.

View file

@ -1,2 +0,0 @@
Fix a :mod:`concurrent.futures.process` bug where ``ProcessPoolExecutor`` shutdown
could hang after a future has been quickly submitted and canceled.

View file

@ -1,7 +0,0 @@
When built against OpenSSL 3.0, the :mod:`ssl` module had a bug where it
reported unauthenticated EOFs (i.e. without close_notify) as a clean TLS-level
EOF. It now raises :exc:`~ssl.SSLEOFError`, matching the behavior in previous
versions of OpenSSL. The :attr:`~ssl.SSLContext.options` attribute on
:class:`~ssl.SSLContext` also no longer includes
:data:`~ssl.OP_IGNORE_UNEXPECTED_EOF` by default. This option may be set to
specify the previous OpenSSL 3.0 behavior.

View file

@ -1,2 +0,0 @@
``inspect.signature`` was raising ``TypeError`` on call with mock objects.
Now it correctly returns ``(*args, **kwargs)`` as infered signature.

View file

@ -1,2 +0,0 @@
Correctly preserve "extra" fields in ``zipfile`` regardless of their
ordering relative to a zip64 "extra."

View file

@ -1 +0,0 @@
Fix incorrect results from :meth:`ssl.SSLSocket.shared_ciphers`

View file

@ -1 +0,0 @@
Fix a :mod:`pdb` bug where ``ll`` clears the changes to local variables.

View file

@ -1 +0,0 @@
Fixed bug where :mod:`bdb` looks up the source line with :mod:`linecache` with a ``lineno=None``, which causes it to fail with an unhandled exception.

View file

@ -1,2 +0,0 @@
Fix potential undefined behaviour in corner cases of floating-point-to-time
conversions.

View file

@ -1,3 +0,0 @@
Callable iterators no longer raise :class:`SystemError` when the
callable object exhausts the iterator but forgets to either return a
sentinel value or raise :class:`StopIteration`.

View file

@ -1,3 +0,0 @@
In zipfile, apply
fix for extractall on the underlying zipfile after being wrapped in
``Path``.

View file

@ -1 +0,0 @@
Fix ``__weakref__`` descriptor generation for custom dataclasses.

View file

@ -1,2 +0,0 @@
The default value of ``fp`` becomes :class:`io.BytesIO` if :exc:`~urllib.error.HTTPError`
is initialized without a designated ``fp`` parameter. Patch by Long Vo.

View file

@ -1,2 +0,0 @@
For the binary mode, :func:`fileinput.hookcompressed` doesn't set the ``encoding`` value
even if the value is ``None``. Patch by Gihwan Kim.

View file

@ -1 +0,0 @@
Fix :func:`os.dup2` error message for negative fds.

View file

@ -1,2 +0,0 @@
Fix a bug where parentheses in the ``metavar`` argument to :meth:`argparse.ArgumentParser.add_argument` were
dropped. Patch by Yeojin Kim.

View file

@ -1,7 +0,0 @@
typing: Fix a bug relating to substitution in custom classes generic over a
:class:`~typing.ParamSpec`. Previously, if the ``ParamSpec`` was substituted
with a parameters list that itself contained a :class:`~typing.TypeVar`, the
``TypeVar`` in the parameters list could not be subsequently substituted. This
is now fixed.
Patch by Nikita Sobolev.

View file

@ -1,3 +0,0 @@
The :class:`asyncio.Timeout` context manager now works reliably even when performing cleanup due
to task cancellation. Previously it could raise a
:exc:`~asyncio.CancelledError` instead of an :exc:`~asyncio.TimeoutError` in such cases.

View file

@ -1,2 +0,0 @@
Improve traceback when :func:`dataclasses.fields` is called on a
non-dataclass. Patch by Alex Waygood

View file

@ -1 +0,0 @@
Don't ignore exceptions in member type creation.

View file

@ -1,3 +0,0 @@
:class:`subprocess.Popen` now uses a safer approach to find
``cmd.exe`` when launching with ``shell=True``. Patch by Eryk Sun,
based on a patch by Oleg Iarygin.

View file

@ -1,4 +0,0 @@
Updated the OpenSSL version used in Windows and macOS binary release builds
to 1.1.1t to address CVE-2023-0286, CVE-2022-4303, and CVE-2022-4303 per
`the OpenSSL 2023-02-07 security advisory
<https://www.openssl.org/news/secadv/20230207.txt>`_.

View file

@ -1 +0,0 @@
Improved test_locale_calendar_formatweekday of calendar.

View file

@ -1,4 +0,0 @@
``test_tools`` now copies up to 10x less source data to a temporary directory
during the ``freeze`` test by ignoring git metadata and other artifacts. It
also limits its python build parallelism based on os.cpu_count instead of hard
coding it as 8 cores.

View file

@ -1,2 +0,0 @@
Adjust the error handling strategy in
``test_zoneinfo.TzPathTest.python_tzpath_context``. Patch by Paul Ganssle.

View file

@ -1 +0,0 @@
Improve test coverage on :mod:`pdb`.

View file

@ -1 +0,0 @@
Correctly handle extensions built against debug binaries that reference ``python3_d.dll``.

View file

@ -1 +0,0 @@
Update Windows installer to SQLite 3.40.1.

View file

@ -1 +0,0 @@
Updates copy of libffi bundled with Windows installs to 3.4.4.

View file

@ -1 +0,0 @@
Ensures installer will correctly upgrade existing ``py.exe`` launcher installs.

View file

@ -1 +0,0 @@
Update macOS installer to SQLite 3.40.1.

View file

@ -1,2 +0,0 @@
Add instructions to the macOS installer welcome display on how to workaround
the macOS 13 Ventura “The installer encountered an error” failure.

View file

@ -1,4 +1,4 @@
This is Python version 3.11.2
This is Python version 3.11.3
=============================
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg