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 abarry
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.15:54:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450108485.1.0.696682300896.issue25843@psf.upfronthosting.co.za>
In-reply-to
Content
I see. Is there any to special-case those so that only closures use that? Maybe by checking on the function object itself - the function itself would be quite similar, as well.

@Mark - I think you've misunderstood me (others did too, so I'm going to assume I just explained poorly) - I'm not debating the use of comparing code objects, I'm talking about the implicit replacement of code objects in functions. However, it seems to be of use, so outright removing the behaviour isn't an option.
History
Date User Action Args
2015-12-14 15:54:45abarrysetrecipients: + abarry, arigo, rhettinger, ncoghlan, donmez, ezio.melotti, r.david.murray, torsten, BreamoreBoy, fijall, serhiy.storchaka, David MacIver, Kevin Shweh, Tijs Van Oevelen
2015-12-14 15:54:45abarrysetmessageid: <1450108485.1.0.696682300896.issue25843@psf.upfronthosting.co.za>
2015-12-14 15:54:45abarrylinkissue25843 messages
2015-12-14 15:54:44abarrycreate