Avoid releasing the GIL in nonblocking socket operations
Open
Nobody has claimed this yet.
3.12
performance
topic-socket
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 45819 |
|---|---|
| Nosy | @rhettinger, @tiran, @asvetlov, @1st1, @jakirkham, @jcrist |
| PRs | |
| 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 2021-11-16.18:51:40.323>
labels = ['3.11', 'expert-asyncio', 'expert-IO', 'performance']
title = 'Avoid releasing the GIL in nonblocking socket operations'
updated_at = <Date 2022-02-02.23:18:52.305>
user = 'https://github.com/jcrist'
bugs.python.org fields:
activity = <Date 2022-02-02.23:18:52.305>
actor = 'jakirkham'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['IO', 'asyncio']
creation = <Date 2021-11-16.18:51:40.323>
creator = 'jcristharif'
dependencies = []
files = ['50443']
hgrepos = []
issue_num = 45819
keywords = ['patch']
message_count = 3.0
messages = ['406422', '406431', '406436']
nosy_count = 6.0
nosy_names = ['rhettinger', 'christian.heimes', 'asvetlov', 'yselivanov', 'jakirkham', 'jcristharif']
pr_nums = ['29579']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'performance'
url = 'https://bugs.python.org/issue45819'
versions = ['Python 3.11']
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 bench.py and the linked PR python/cpython#29579, then trace the nonblocking socket operations covered by the benchmark. Done means the requested GIL-release behavior is changed for those operations and the benchmark still demonstrates the intended performance behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100