`super()` should not allow attribute assignment
Open
bug
- Dominant language
- Python
- Stars
- 15.6k
- Forks
- 1.8k
- Avg merge
- 12h 13m
- Merged PRs (30d)
- 52
Description
This bug was noticed in pyrefly, and pyright likewise doesn't generate an error in this case.
See [this issue](https://github.com/facebook/pyrefly/issues/251) for details.
Contributor guide
Research direction
Start with the linked pyrefly issue and reproduce the reported `super()` attribute-assignment case in Pyright. Compare the result with the behavior described there and determine what error is expected. Done means Pyright reports the appropriate error for the case, with regression coverage for the discovered behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100