This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients arigo, nikratio, rhettinger
Date 2013-10-27.21:09:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382908146.24.0.51241407591.issue19414@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-10-27 21:09:06arigosetrecipients: + arigo, rhettinger, nikratio
2013-10-27 21:09:06arigosetmessageid: <1382908146.24.0.51241407591.issue19414@psf.upfronthosting.co.za>
2013-10-27 21:09:06arigolinkissue19414 messages
2013-10-27 21:09:06arigocreate