document that test.support.threading_cleanup() deliberately complains about dangling threads before calling gc_collect()
Open
Nobody has claimed this yet.
docs
tests
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 32850 |
|---|---|
| Nosy | @pitrou, @vstinner, @tiran, @ezio-melotti, @smurfix, @njsmith |
| Files |
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 2018-02-15.14:02:32.626>
labels = ['3.7', 'tests', 'performance']
title = 'Run gc_collect() before complaining about dangling threads'
updated_at = <Date 2018-03-27.22:34:22.807>
user = 'https://github.com/smurfix'
bugs.python.org fields:
activity = <Date 2018-03-27.22:34:22.807>
actor = 'njs'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2018-02-15.14:02:32.626>
creator = 'smurfix'
dependencies = []
files = ['47445', '47446']
hgrepos = []
issue_num = 32850
keywords = ['patch']
message_count = 9.0
messages = ['312206', '312207', '314547', '314548', '314552', '314553', '314554', '314555', '314558']
nosy_count = 6.0
nosy_names = ['pitrou', 'vstinner', 'christian.heimes', 'ezio.melotti', 'smurfix', 'njs']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue32850'
versions = ['Python 3.7']
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
Search the CPython test support code for test.support.threading_cleanup() and gc_collect(). Read the surrounding implementation and existing documentation or tests to confirm the intended order and warning behavior. Done means the documentation clearly states that dangling threads are deliberately reported before gc_collect() is called.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100