python-attrs / python-attrs/attrs
Possible class creation optimization
Open
Nobody has claimed this yet.
Feature
Performance
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 480
- Avg merge
- 2h 15m
- Merged PRs (30d)
- 2
Description
Was looking at the CPython issue tracker and noticed https://github.com/python/cpython/issues/100930
It looks like attrs doesn't do this either. I don't know if this is wanted or whether this can work with linecache.
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
Start by reading the linked CPython issue 100930 and comparing its proposed class-creation optimization with how attrs currently generates classes. Investigate whether the approach remains compatible with linecache, then establish the desired behavior and tests before attempting implementation; no attrs file or test is named in this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100