Assigning function parameter to class attribute by the same name
Open
Nobody has claimed this yet.
3.10
3.9 (EOL)
interpreter-core
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 43380 |
|---|---|
| Nosy | @ericvsmith, @stevendaprano, @jennydaman |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2021-03-03.00:36:29.041>
labels = ['interpreter-core', 'type-bug', '3.9', '3.10']
title = 'Assigning function parameter to class attribute by the same name'
updated_at = <Date 2021-03-03.09:19:41.364>
user = 'https://github.com/jennydaman'
bugs.python.org fields:
activity = <Date 2021-03-03.09:19:41.364>
actor = 'steven.daprano'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2021-03-03.00:36:29.041>
creator = 'jennydaman'
dependencies = []
files = []
hgrepos = []
issue_num = 43380
keywords = []
message_count = 6.0
messages = ['387987', '387990', '387991', '387992', '388005', '388008']
nosy_count = 3.0
nosy_names = ['eric.smith', 'steven.daprano', 'jennydaman']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43380'
versions = ['Python 3.9', 'Python 3.10']
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 source files, tests, reproduction steps, or entry points are identified in the issue. Start by locating the Interpreter Core handling for assigning a function parameter to a class attribute with the same name, then establish the expected behavior and add a focused regression test; the issue does not define a more specific done condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100