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

[3.7] bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113) #13722

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 1, 2019

Fixed QueueListener in order to avoid random deadlocks.
Unable to add regression tests atm due to time constraints, will add it in a bit.
Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO).

https://bugs.python.org/issue36813
(cherry picked from commit 6b282e1)

Co-authored-by: Bar Harel bzvi7919@gmail.com

https://bugs.python.org/issue36813

…ythonGH-13113)

Fixed QueueListener in order to avoid random deadlocks.
Unable to add regression tests atm due to time constraints, will add it in a bit.
Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO).

https://bugs.python.org/issue36813
(cherry picked from commit 6b282e1)

Co-authored-by: Bar Harel <bzvi7919@gmail.com>
@miss-islington
Copy link
Contributor Author

@bharel: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit f286e03 into python:3.7 Jun 1, 2019
@miss-islington miss-islington deleted the backport-6b282e1-3.7 branch June 1, 2019 09:36
@miss-islington
Copy link
Contributor Author

@bharel: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants