Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Unreleased

- Fix tests on Python 3.13.0a6. 3.13.0a6 adds a new
`__static_attributes__` attribute to all classes in Python,
which broke some assumptions made by the implementation of
`typing_extenions.Protocol`.

# Release 4.11.0 (April 5, 2024)

This feature release provides improvements to various recently
Expand Down
3 changes: 3 additions & 0 deletions src/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ def clear_overloads():
if sys.version_info >= (3, 12):
_EXCLUDED_ATTRS.add("__type_params__")

if sys.version_info >= (3, 13):
_EXCLUDED_ATTRS.add("__static_attributes__")

_EXCLUDED_ATTRS = frozenset(_EXCLUDED_ATTRS)


Expand Down