Exception and contextmanager in __getattr__ causes reference cycle
Open
Nobody has claimed this yet.
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
Description
| BPO | 43533 |
|---|
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-18.00:49:33.171>
labels = ['type-bug', 'library']
title = 'Exception and contextmanager in __getattr__ causes reference cycle'
updated_at = <Date 2021-03-18.00:49:33.171>
user = 'https://bugs.python.org/crccw'
bugs.python.org fields:
activity = <Date 2021-03-18.00:49:33.171>
actor = 'crccw'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-03-18.00:49:33.171>
creator = 'crccw'
dependencies = []
files = []
hgrepos = []
issue_num = 43533
keywords = []
message_count = 1.0
messages = ['388977']
nosy_count = 1.0
nosy_names = ['crccw']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43533'
versions = ['Python 3.6']
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 with the linked BPO issue 43533 and its single message, then locate the relevant Python library implementation for getattr, exceptions, and context managers. Reproduce the reference-cycle behavior and determine the expected lifecycle; done means the cycle no longer occurs without breaking the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100