python / python/cpython

queue.Queue(timeout=0.001) avg delay Windows:14.5ms, Ubuntu: 0.063ms

Open
#78,716 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.8 (EOL) 3.9 (EOL) docs type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 34535
Nosy @rhettinger, @terryjreedy, @pfmoore, @tjguk, @zware, @eryksun, @zooba, @MojoVampire, @tirkarthi, @gammaguy

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-08-28.19:20:21.630>
labels = ['type-bug', '3.8', '3.9', '3.10', 'docs']
title = 'queue.Queue(timeout=0.001) avg delay Windows:14.5ms, Ubuntu: 0.063ms'
updated_at = <Date 2021-03-18.02:39:28.017>
user = 'https://github.com/gammaguy'

bugs.python.org fields:

activity = <Date 2021-03-18.02:39:28.017>
actor = 'rhettinger'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2018-08-28.19:20:21.630>
creator = 'Gammaguy'
dependencies = []
files = []
hgrepos = []
issue_num = 34535
keywords = []
message_count = 14.0
messages = ['324277', '324299', '324308', '324320', '324328', '324342', '324343', '324355', '324359', '324396', '324491', '388948', '388950', '388961']
nosy_count = 11.0
nosy_names = ['rhettinger', 'terry.reedy', 'paul.moore', 'tim.golden', 'docs@python', 'zach.ware', 'eryksun', 'steve.dower', 'josh.r', 'xtreak', 'Gammaguy']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue34535'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the queue.Queue(timeout=0.001) behavior described in the issue and reproduce the timing comparison on Windows and Ubuntu. No source file or test is named; done requires identifying the cause of the platform discrepancy and establishing the appropriate documented or implementation change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.