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 serhiy.storchaka
Recipients giampaolo.rodola, josiah.carlson, josiahcarlson, rhettinger, serhiy.storchaka, stutzbach
Date 2012-10-08.12:08:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349698109.13.0.196254933409.issue13451@psf.upfronthosting.co.za>
In-reply-to
Content
In principle this is the right approach. But the time of enter() is increased by 20%. Here is updated and slightly optimized patch that restores enter() performance (but a little slow down cancel()). Because enter() is executed for each event and cancel() is not, and enter's gain greater cancel's loss, I think it is a very profitable exchange.
History
Date User Action Args
2012-10-08 12:08:29serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, josiahcarlson, giampaolo.rodola, josiah.carlson, stutzbach
2012-10-08 12:08:29serhiy.storchakasetmessageid: <1349698109.13.0.196254933409.issue13451@psf.upfronthosting.co.za>
2012-10-08 12:08:29serhiy.storchakalinkissue13451 messages
2012-10-08 12:08:28serhiy.storchakacreate