Richard Oudkerk added the comment:

Why would you use a multi-process queue to "pass messages from one part of the 
program to another part, in the same process and thread"?  Why not just use a 
deque?

Is this something you actually did, or are you just trying to come up with a 
plausible example?

And, of course, if you are sure there must be an item available, you could just 
use get() instead of get_nowait().

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18277>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to