Emanuel Barry added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to