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 Aaron Hall, rhettinger, serhiy.storchaka
Date 2017-10-12.08:52:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507798349.04.0.213398074469.issue31753@psf.upfronthosting.co.za>
In-reply-to
Content
I prefer the existing code too.

But I'm surprised that this change has a measurable effects at all. I thought that creating a closure is cheaper. Of course it is much faster than creating a class. Maybe it is worth to spend some time for optimizing closure creation.
History
Date User Action Args
2017-10-12 08:52:29serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Aaron Hall
2017-10-12 08:52:29serhiy.storchakasetmessageid: <1507798349.04.0.213398074469.issue31753@psf.upfronthosting.co.za>
2017-10-12 08:52:29serhiy.storchakalinkissue31753 messages
2017-10-12 08:52:29serhiy.storchakacreate