mirror of
https://github.com/python/cpython.git
synced 2025-12-19 07:03:48 +00:00
doc: Sync some missing 3.10 changes with the What's New (GH-25503)
Automerge-Triggered-By: GH:isidentical
This commit is contained in:
parent
18e0d32804
commit
81fe01492c
1 changed files with 27 additions and 1 deletions
|
|
@ -776,6 +776,13 @@ New Modules
|
||||||
Improved Modules
|
Improved Modules
|
||||||
================
|
================
|
||||||
|
|
||||||
|
asyncio
|
||||||
|
-------
|
||||||
|
|
||||||
|
Added missing :meth:`~asyncio.events.AbstractEventLoop.connect_accepted_socket`
|
||||||
|
method.
|
||||||
|
(Contributed by Alex Grönholm in :issue:`41332`.)
|
||||||
|
|
||||||
argparse
|
argparse
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
@ -795,6 +802,12 @@ base64
|
||||||
Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support the
|
Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support the
|
||||||
Base32 Encoding with Extended Hex Alphabet.
|
Base32 Encoding with Extended Hex Alphabet.
|
||||||
|
|
||||||
|
bdb
|
||||||
|
---
|
||||||
|
|
||||||
|
Add :meth:`~bdb.Breakpoint.clearBreakpoints` to reset all set breakpoints.
|
||||||
|
(Contributed by Irit Katriel in :issue:`24160`.)
|
||||||
|
|
||||||
codecs
|
codecs
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|
@ -826,6 +839,9 @@ and objects representing asynchronously released resources.
|
||||||
Add asynchronous context manager support to :func:`contextlib.nullcontext`.
|
Add asynchronous context manager support to :func:`contextlib.nullcontext`.
|
||||||
(Contributed by Tom Gringauz in :issue:`41543`.)
|
(Contributed by Tom Gringauz in :issue:`41543`.)
|
||||||
|
|
||||||
|
Add :class:`AsyncContextDecorator`, for supporting usage of async context managers
|
||||||
|
as decorators.
|
||||||
|
|
||||||
curses
|
curses
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|
@ -880,6 +896,9 @@ enum
|
||||||
module constants have a :func:`repr` of ``module_name.member_name``.
|
module constants have a :func:`repr` of ``module_name.member_name``.
|
||||||
(Contributed by Ethan Furman in :issue:`40066`.)
|
(Contributed by Ethan Furman in :issue:`40066`.)
|
||||||
|
|
||||||
|
Add :class:`enum.StrEnum` for enums where all members are strings.
|
||||||
|
(Contributed by Ethan Furman in :issue:`41816`.)
|
||||||
|
|
||||||
fileinput
|
fileinput
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|
@ -1089,6 +1108,10 @@ and to match the behavior of static type checkers specified in the PEP.
|
||||||
|
|
||||||
(Contributed by Yurii Karabas in :issue:`42345`.)
|
(Contributed by Yurii Karabas in :issue:`42345`.)
|
||||||
|
|
||||||
|
Add new function :func:`typing.is_typeddict` to introspect if an annotation
|
||||||
|
is a :class:`typing.TypedDict`.
|
||||||
|
(Contributed by Patrick Reader in :issue:`41792`)
|
||||||
|
|
||||||
unittest
|
unittest
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
@ -1121,7 +1144,10 @@ zipimport
|
||||||
Add methods related to :pep:`451`: :meth:`~zipimport.zipimporter.find_spec`,
|
Add methods related to :pep:`451`: :meth:`~zipimport.zipimporter.find_spec`,
|
||||||
:meth:`zipimport.zipimporter.create_module`, and
|
:meth:`zipimport.zipimporter.create_module`, and
|
||||||
:meth:`zipimport.zipimporter.exec_module`.
|
:meth:`zipimport.zipimporter.exec_module`.
|
||||||
(Contributed by Brett Cannon in :issue:`42131`.
|
(Contributed by Brett Cannon in :issue:`42131`.)
|
||||||
|
|
||||||
|
Add :meth:`~zipimport.zipimporter.invalidate_caches` method.
|
||||||
|
(Contributed by Desmond Cheong in :issue:`14678`.)
|
||||||
|
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue