Andrew Brown added the comment:
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.
--
nosy: +Andrew.Brown
Added file: http://bugs.python.org/file20514/bug_simplified.py
___
Python tracker
<http://bugs.python.org/issue11004>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com