Gregory P. Smith <g...@krypto.org> added the comment:

Oh, I didn't realize mutating those would actually change the code runtime 
behavior.  But it makes sense, those are needed before the code object is 
entered.

Yeah that is different, and suggests making this the default is not actually 
desired.  (this issue and the other one)

I guess our rule is that introspection code really must check for and be ready 
to handle .__wrapped__ if its goal is robustness?

----------

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

Reply via email to