[issue11004] AssertionError on collections.deque().count(1)

2011-01-25 Thread Andrew Brown
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,

[issue6641] strptime doesn't support %z format ?

2009-08-20 Thread Andrew Brown
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