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 roysmith
Recipients rhettinger, roysmith
Date 2008-09-17.21:47:10
SpamBayes Score 2.3086645e-06
Marked as misclassified No
Message-id <1221688040.62.0.349435175288.issue3891@psf.upfronthosting.co.za>
In-reply-to
Content
Sigh.  It looks like you can do what I want after all, by just using the 
deque object itself, i.e.:

q = deque()
while (q):
   ...

This should be changed to a docs bug -- the doc page for deque should 
mention this, or include an example of this usage.  It's logical that it 
works this way, but not entirely obvious.
History
Date User Action Args
2008-09-17 21:47:20roysmithsetrecipients: + roysmith, rhettinger
2008-09-17 21:47:20roysmithsetmessageid: <1221688040.62.0.349435175288.issue3891@psf.upfronthosting.co.za>
2008-09-17 21:47:10roysmithlinkissue3891 messages
2008-09-17 21:47:10roysmithcreate