This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Brunsgaard
Recipients Brunsgaard, gvanrossum, vstinner, yselivanov
Date 2016-02-02.10:25:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454408750.3.0.262967898093.issue26259@psf.upfronthosting.co.za>
In-reply-to
Content
You are right that get_nowait() is the correct api for my use case, using get_nowait() nothing is pushed to the internal _getters deque. The reason for my us of get() is that job futures are created one place in the code and then thrown in a processing function that will yield the job future. This design was created to handle all exceptions in processing(), but I agree that get_nowait would have been the superior solution.

I do not have time on my hands right now to take on the challenge of writing a patch, but I might take it up later, sound fun ;)

Good day to you sir, and thank you for the feedback.
History
Date User Action Args
2016-02-02 10:25:50Brunsgaardsetrecipients: + Brunsgaard, gvanrossum, vstinner, yselivanov
2016-02-02 10:25:50Brunsgaardsetmessageid: <1454408750.3.0.262967898093.issue26259@psf.upfronthosting.co.za>
2016-02-02 10:25:50Brunsgaardlinkissue26259 messages
2016-02-02 10:25:49Brunsgaardcreate