Message269729
>>> ba = bytearray(b'ab')
>>> it = iter(ba)
>>> next(it)
97
>>> ba.clear()
>>> list(it)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: __length_hint__() should return >= 0
Proposed patch fixes this issue. |
|
Date |
User |
Action |
Args |
2016-07-02 19:53:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger |
2016-07-02 19:53:54 | serhiy.storchaka | set | messageid: <1467489234.07.0.837465555055.issue27443@psf.upfronthosting.co.za> |
2016-07-02 19:53:54 | serhiy.storchaka | link | issue27443 messages |
2016-07-02 19:53:53 | serhiy.storchaka | create | |
|