Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1697b4

Browse files
authored
Make the daily test not fail tonight on Python 3.13 (#367)
it's about to fail because ofpython/cpython#115913
1 parent66e0a1f commita1697b4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
18
#Release 4.11.0 (April 5, 2024)
29

310
This feature release provides improvements to various recently

‎src/typing_extensions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ def clear_overloads():
442442
ifsys.version_info>= (3,12):
443443
_EXCLUDED_ATTRS.add("__type_params__")
444444

445+
ifsys.version_info>= (3,13):
446+
_EXCLUDED_ATTRS.add("__static_attributes__")
447+
445448
_EXCLUDED_ATTRS=frozenset(_EXCLUDED_ATTRS)
446449

447450

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp