File tree 1 file changed +13
-0
lines changed 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1390,6 +1390,13 @@ subclasses with the :func:`runtime_checkable` decorator
1390
1390
if they want runtime protocols.
1391
1391
(Contributed by Yurii Karabas in :issue:`38908 ` )
1392
1392
1393
+ Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1394
+ :exc:`DeprecationWarning ` . These submodules have been deprecated since
1395
+ Python 3.8 and will be removed in a future version of Python. Anything
1396
+ belonging to those submodules should be imported directly from
1397
+ :mod:`typing` instead.
1398
+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1399
+
1393
1400
unittest
1394
1401
--------
1395
1402
@@ -1692,6 +1699,12 @@ Deprecated
1692
1699
requires a :ref:`debug build of Python < debug- build> ` .
1693
1700
(Contributed by Victor Stinner in :issue:`44584 ` .)
1694
1701
1702
+ * Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1703
+ :exc:`DeprecationWarning ` . These submodules will be removed in a future version
1704
+ of Python. Anything belonging to these submodules should be imported directly
1705
+ from :mod:`typing` instead.
1706
+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1707
+
1695
1708
.. _whatsnew310- removed:
1696
1709
1697
1710
Removed
You can’t perform that action at this time.
0 commit comments