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 wrichert
Recipients belopolsky, benjamin.peterson, rhettinger, wrichert
Date 2009-10-28.08:13:51
SpamBayes Score 1.2964239e-07
Marked as misclassified No
Message-id <1256717633.08.0.644715697972.issue7212@psf.upfronthosting.co.za>
In-reply-to
Content
No particular reason, besides that it is ripped off of pop().

Your solution (omitting "register") gives the same performance. Looks
cleaner, of course.

The patch tries to provide a clean way of "for x in some_set: break", as
explained above. See the recent python-dev mailing list musings.
History
Date User Action Args
2009-10-28 08:13:53wrichertsetrecipients: + wrichert, rhettinger, belopolsky, benjamin.peterson
2009-10-28 08:13:53wrichertsetmessageid: <1256717633.08.0.644715697972.issue7212@psf.upfronthosting.co.za>
2009-10-28 08:13:51wrichertlinkissue7212 messages
2009-10-28 08:13:51wrichertcreate