`__static_attributes__` class attribute from Python 3.13
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.1k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 82
Description
Python 3.13 introduced __static_attributes__ special attribute for classes. The trick is - it is not defined on object ...
AttributeError: type object 'object' has no attribute '__static_attributes__'
What is the best way to declare it in typeshed? As object attribute anyway? Or there is no way atm?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start with the Python 3.13 documentation for static_attributes and inspect typeshed's existing object and class stubs; determine the supported declaration approach and confirm that the issue's AttributeError case is represented correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100