DanielStutzbach / blist

A list-like type with better asymptotic performance and similar performance on small lists
Other
310 stars 36 forks source link

.extend must check the new length will be <= PY_SSIZE_T_MAX #3

Open DanielStutzbach opened 14 years ago

DanielStutzbach commented 14 years ago

The following should throw an exception:

x = blist(range(10))
while True:
    x.extend(x)