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 gvanrossum
Recipients Brunsgaard, gvanrossum, vstinner, yselivanov
Date 2016-02-03.00:21:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJLxODDUHEFX4-HHvk8O9k7mDw88QPirHSCo8ieVSt3AtQ@mail.gmail.com>
In-reply-to <1454458387.63.0.69243083598.issue26259@psf.upfronthosting.co.za>
Content
First, you wrote "The easy solution was to check if the queue was
empty and skip the read (get call) if there was nothing in the queue"
-- which is exactly what get_nowait() does.

As to a patch, I think you should just describe how you would change
the code, then we can talk details.
History
Date User Action Args
2016-02-03 00:21:34gvanrossumsetrecipients: + gvanrossum, vstinner, yselivanov, Brunsgaard
2016-02-03 00:21:34gvanrossumlinkissue26259 messages
2016-02-03 00:21:34gvanrossumcreate