title: How to iterate Queue.Queue items in Python?
body: <p>Does anyone know a pythonic way of iterating over the elements of a <code>Queue.Queue</code> <em>without</em> removing them from the Queue. I have a producer/consumer-type program where items to be processed are passed by using a <code>Queue.Queue</code>, and I want to be able to print what the remaining items are. Any ideas?</p>