8000
We read every piece of feedback, and take your input very seriously.
To see all availa 8000 ble qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e0a1f commit a1697b4Copy full SHA for a1697b4
CHANGELOG.md
@@ -1,3 +1,10 @@
1
+# Unreleased
2
+
3
+- Fix tests on Python 3.13.0a6. 3.13.0a6 adds a new
4
+ `__static_attributes__` attribute to all classes in Python,
5
+ which broke some assumptions made by the implementation of
6
+ `typing_extenions.Protocol`.
7
8
# Release 4.11.0 (April 5, 2024)
9
10
This feature release provides improvements to various recently
src/typing_extensions.py
@@ -442,6 +442,9 @@ def clear_overloads():
442
if sys.version_info >= (3, 12):
443
_EXCLUDED_ATTRS.add("__type_params__")
444
445
+if sys.version_info >= (3, 13):
446
+ _EXCLUDED_ATTRS.add("__static_attributes__")
447
448
_EXCLUDED_ATTRS = frozenset(_EXCLUDED_ATTRS)
449
450
0 commit comments