Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError from asyncio Queue get #69420

Closed
gvanrossum opened this issue Sep 25, 2015 · 6 comments
Closed

AssertionError from asyncio Queue get #69420

gvanrossum opened this issue Sep 25, 2015 · 6 comments
Assignees
Labels
release-blocker topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@gvanrossum
Copy link
Member

BPO 25233
Nosy @gvanrossum, @vstinner, @1st1

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 = 'https://github.com/gvanrossum'
closed_at = <Date 2015-09-29.04:03:36.487>
created_at = <Date 2015-09-25.17:27:20.791>
labels = ['type-bug', 'release-blocker', 'expert-asyncio']
title = 'AssertionError from asyncio Queue get'
updated_at = <Date 2015-09-29.04:03:36.486>
user = 'https://github.com/gvanrossum'

bugs.python.org fields:

activity = <Date 2015-09-29.04:03:36.486>
actor = 'gvanrossum'
assignee = 'gvanrossum'
closed = True
closed_date = <Date 2015-09-29.04:03:36.487>
closer = 'gvanrossum'
components = ['asyncio']
creation = <Date 2015-09-25.17:27:20.791>
creator = 'gvanrossum'
dependencies = []
files = []
hgrepos = []
issue_num = 25233
keywords = ['3.5regression']
message_count = 6.0
messages = ['251590', '251591', '251604', '251649', '251770', '251798']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'vstinner', 'python-dev', 'yselivanov']
pr_nums = []
priority = 'release blocker'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue25233'
versions = ['Python 3.5']

@gvanrossum
Copy link
Member Author

See python/asyncio#265 and python/asyncio#268. This looks like an important regression and we should fix it before 3.5.1 goes out.

The symptom is "AssertionError: queue non-empty, why are getters waiting?" from Queue.get or Queue.get_nowait. The first issue discusses the cause and a possible hack to fix it.

@gvanrossum gvanrossum added release-blocker topic-asyncio type-bug An unexpected behavior, bug, or error labels Sep 25, 2015
@1st1
Copy link
Member

1st1 commented Sep 25, 2015

This looks like an important regression and we should fix it before 3.5.1 goes out.

I agree. Any ETA on 3.5.1?

@vstinner
Copy link
Member

2015-09-25 20:12 GMT+02:00 Yury Selivanov <report@bugs.python.org>:

> This looks like an important regression and we should fix it before 3.5.1 goes out.

I agree. Any ETA on 3.5.1?

See https://mail.python.org/pipermail/python-dev/2015-September/141705.html

@gvanrossum
Copy link
Member Author

I have a fix pending here: python/asyncio#269

@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 28, 2015

New changeset 1ea306202d5d by Guido van Rossum in branch '3.4':
Issue bpo-25233: Rewrite the guts of Queue to be more understandable and correct.
https://hg.python.org/cpython/rev/1ea306202d5d

New changeset a48d90049ae2 by Guido van Rossum in branch '3.5':
Issue bpo-25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)
https://hg.python.org/cpython/rev/a48d90049ae2

@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 28, 2015

New changeset 58695845e159 by Guido van Rossum in branch 'default':
Issue bpo-25233: Rewrite the guts of Queue to be more understandable and correct. (Merge 3.5->default.)
https://hg.python.org/cpython/rev/58695845e159

@gvanrossum gvanrossum self-assigned this Sep 29, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker topic-asyncio type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants