Skip to content

Commit

Permalink
Merge pull request #290 from zopefoundation/fix-289__static_attributes__
Browse files Browse the repository at this point in the history
Ignore `__static_attributes__` added in Python 3.13a6.
  • Loading branch information
dataflake authored Apr 12, 2024
2 parents 81c58f4 + 0081260 commit 57c073f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
6.3 (unreleased)
================

- Nothing changed yet.
- Add preliminary support for Python 3.13 as of 3.13a6.


6.2 (2024-02-16)
Expand Down
3 changes: 3 additions & 0 deletions src/zope/interface/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,9 @@ def update_value(aname, aval):
'__qualname__',
# __annotations__: PEP 3107 (Python 3.0+)
'__annotations__',
# __static_attributes__: Python 3.13a6+
# https://github.com/python/cpython/pull/115913
'__static_attributes__',
)
and aval is not _decorator_non_return
}
Expand Down

0 comments on commit 57c073f

Please sign in to comment.