Message201502
Another option for the "try harder to raise RuntimeError" category (which I tend to like, because otherwise people are bound to write programs that rely on undocumented details):
In __delitem__() set link.next = None. In the various iterators check explicitly if curr.next is None, and raise RuntimeError if it is. |
|
Date |
User |
Action |
Args |
2013-10-27 21:09:06 | arigo | set | recipients:
+ arigo, rhettinger, nikratio |
2013-10-27 21:09:06 | arigo | set | messageid: <1382908146.24.0.51241407591.issue19414@psf.upfronthosting.co.za> |
2013-10-27 21:09:06 | arigo | link | issue19414 messages |
2013-10-27 21:09:06 | arigo | create | |
|