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 eric.snow
Recipients alex, asvetlov, benjamin.peterson, eric.araujo, eric.snow, ezio.melotti, flox, rhettinger, serhiy.storchaka
Date 2013-06-05.02:26:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370399196.86.0.182556683196.issue16991@psf.upfronthosting.co.za>
In-reply-to
Content
Here's one solution to the deletion-during-iteration problem.  It makes the iterators track the key rather than the node, at the expense of a sliver of speed on __iter__() and keys().
History
Date User Action Args
2013-06-05 02:26:38eric.snowsetrecipients: + eric.snow, rhettinger, benjamin.peterson, ezio.melotti, eric.araujo, alex, asvetlov, flox, serhiy.storchaka
2013-06-05 02:26:36eric.snowsetmessageid: <1370399196.86.0.182556683196.issue16991@psf.upfronthosting.co.za>
2013-06-05 02:26:36eric.snowlinkissue16991 messages
2013-06-05 02:26:36eric.snowcreate