summaryrefslogtreecommitdiff
path: root/tests/basics/deque1.py
AgeCommit message (Collapse)Author
2018-02-21py/objdeque: Protect against negative maxlen in deque constructor.Damien George
Otherwise passing -1 as maxlen will lead to a zero allocation and subsequent unbound buffer overflow in deque.append() because i_put is allowed to grow without bound.
2018-02-21tests/basics: Add tests to improve coverage of py/objdeque.c.Damien George
2018-02-21tests/basics/deque*: Tests for ucollections.deque.Paul Sokolovsky