@@ -776,6 +776,13 @@ New Modules
776
776
Improved Modules
777
777
================
778
778
779
+ asyncio
780
+ ------ -
781
+
782
+ Added missing :meth:`~ asyncio.events.AbstractEventLoop.connect_accepted_socket`
783
+ method.
784
+ (Contributed by Alex Grönholm in :issue:`41332 ` .)
785
+
779
786
argparse
780
787
--------
781
788
@@ -795,6 +802,12 @@ base64
795
802
Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support the
796
803
Base32 Encoding with Extended Hex Alphabet.
797
804
805
+ bdb
806
+ -- -
807
+
808
+ Add :meth:`~ bdb.Breakpoint.clearBreakpoints` to reset all set breakpoints.
809
+ (Contributed by Irit Katriel in :issue:`24160 ` .)
810
+
798
811
codecs
799
812
------
800
813
@@ -826,6 +839,9 @@ and objects representing asynchronously released resources.
826
839
Add asynchronous context manager support to :func:`contextlib.nullcontext` .
827
840
(Contributed by Tom Gringauz in :issue:`41543 ` .)
828
841
842
+ Add :class :`AsyncContextDecorator` , for supporting usage of async context managers
843
+ as decorators.
844
+
829
845
curses
830
846
------
831
847
880
896
module constants have a :func:`repr ` of `` module_name.member_name`` .
881
897
(Contributed by Ethan Furman in :issue:`40066 ` .)
882
898
899
+ Add :class :`enum.StrEnum` for enums where all members are strings.
900
+ (Contributed by Ethan Furman in :issue:`41816 ` .)
901
+
883
902
fileinput
884
903
-------- -
885
904
@@ -1089,6 +1108,10 @@ and to match the behavior of static type checkers specified in the PEP.
1089
1108
1090
1109
(Contributed by Yurii Karabas in :issue:`42345 ` .)
1091
1110
1111
+ Add new function :func:`typing.is_typeddict` to introspect if an annotation
1112
+ is a :class :`typing.TypedDict` .
1113
+ (Contributed by Patrick Reader in :issue:`41792 ` )
1114
+
1092
1115
unittest
1093
1116
--------
1094
1117
@@ -1121,7 +1144,10 @@ zipimport
1121
1144
Add methods related to :pep:`451 ` : :meth:`~ zipimport.zipimporter.find_spec` ,
1122
1145
:meth:`zipimport.zipimporter.create_module` , and
1123
1146
:meth:`zipimport.zipimporter.exec_module` .
1124
- (Contributed by Brett Cannon in :issue:`42131 ` .
1147
+ (Contributed by Brett Cannon in :issue:`42131 ` .)
1148
+
1149
+ Add :meth:`~ zipimport.zipimporter.invalidate_caches` method.
1150
+ (Contributed by Desmond Cheong in :issue:`14678 ` .)
1125
1151
1126
1152
1127
1153
Optimizations
0 commit comments