Artie Gold wrote: > Skip Montanaro wrote: > >> counter = Queue.Queue() >> def f(): >> i = counter.get() > > I think you need: > i = counter.get(True) The default value for the "block" argument to Queue.get is True.