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 BreamoreBoy, David MacIver, Kevin Shweh, Tijs Van Oevelen, abarry, arigo, donmez, ezio.melotti, fijall, ncoghlan, r.david.murray, rhettinger, serhiy.storchaka, torsten
Date 2015-12-14.16:07:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450109275.45.0.895373189602.issue25843@psf.upfronthosting.co.za>
In-reply-to
Content
> It makes closures efficient:

No, code objects are not compared here. The code object is constant, and f() returns different closure objects using the same code object.

AFAIK the comparison of different code objects is used exclusively in testing.
History
Date User Action Args
2015-12-14 16:07:55serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, rhettinger, ncoghlan, donmez, ezio.melotti, r.david.murray, torsten, BreamoreBoy, fijall, David MacIver, abarry, Kevin Shweh, Tijs Van Oevelen
2015-12-14 16:07:55serhiy.storchakasetmessageid: <1450109275.45.0.895373189602.issue25843@psf.upfronthosting.co.za>
2015-12-14 16:07:55serhiy.storchakalinkissue25843 messages
2015-12-14 16:07:55serhiy.storchakacreate