We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993a0c6 commit 8cece1dCopy full SHA for 8cece1d
1 file changed
Doc/deprecations/pending-removal-in-3.20.rst
@@ -53,3 +53,12 @@ Pending removal in Python 3.20
53
54
* Creating instances of abstract AST nodes (such as :class:`ast.AST`
55
or :class:`!ast.expr`) is deprecated and will raise an error in Python 3.20.
56
+
57
+* :mod:`typing`:
58
59
+ * It is deprecated to call :func:`isinstance` and :func:`issubclass` checks on
60
+ protocol classes that were not explicitly decorated with :func:`!runtime_checkable`
61
+ but that inherit from a runtime-checkable protocol class.
62
+ This will raise a :exc:`TypeError` in Python 3.20.
63
64
+ (Contributed by Bartosz Sławecki in :gh:`132604`.)
0 commit comments