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,
Andrew Brown added the comment:
I think this bug is just a doc bug. If you check
http://docs.python.org/library/datetime.html?highlight=strptime#strftime-behavior
and
http://docs.python.org/library/time.html?highlight=strptime#time.strptime
You can see that the first link lists %z as a