Windows select() errors out when given no fds to select on, which breaks SelectSelector
Open
Nobody has claimed this yet.
3.10
3.8 (EOL)
3.9 (EOL)
OS-windows
stdlib
topic-socket
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 29256 |
|---|---|
| Nosy | @pfmoore, @giampaolo, @tjguk, @njsmith, @berkerpeksag, @zware, @eryksun, @zooba |
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 2017-01-12.23:42:18.821>
labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
title = 'Windows select() errors out when given no fds to select on, which breaks SelectSelector'
updated_at = <Date 2021-03-12.21:41:22.098>
user = 'https://github.com/njsmith'
bugs.python.org fields:
activity = <Date 2021-03-12.21:41:22.098>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Windows']
creation = <Date 2017-01-12.23:42:18.821>
creator = 'njs'
dependencies = []
files = []
hgrepos = []
issue_num = 29256
keywords = []
message_count = 5.0
messages = ['285353', '285497', '287222', '287223', '287225']
nosy_count = 8.0
nosy_names = ['paul.moore', 'giampaolo.rodola', 'tim.golden', 'njs', 'berker.peksag', 'zach.ware', 'eryksun', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29256'
versions = ['Python 3.8', '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
Start at the SelectSelector entry point and investigate the Windows select() behavior when no file descriptors are supplied. Reproduce the failure on Windows and trace how the empty set is handled. Done means SelectSelector can wait with no descriptors without raising the reported error, with regression coverage for that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100