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 Andrew.Brown
Recipients Andrew.Brown, vstinner
Date 2011-01-25.15:58:43
SpamBayes Score 0.0009917457
Marked as misclassified No
Message-id <1295971123.94.0.265649511493.issue11004@psf.upfronthosting.co.za>
In-reply-to
Content
This bug trigger can be simplified down, see my attached bug_simplified.py

The problem seems to be in deque_count(). What's happening is that after the rotations, the 16 items reside in the last 16 slots of one block.

In deque_count()'s for loop, the block pointer is incremented regardless of whether the loop has another iteration to go or not. Thus, it's trying to grab the (nonexistant) next block, even though the for loop would have exited anyways.
History
Date User Action Args
2011-01-25 15:58:44Andrew.Brownsetrecipients: + Andrew.Brown, vstinner
2011-01-25 15:58:43Andrew.Brownsetmessageid: <1295971123.94.0.265649511493.issue11004@psf.upfronthosting.co.za>
2011-01-25 15:58:43Andrew.Brownlinkissue11004 messages
2011-01-25 15:58:43Andrew.Browncreate