Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Thank you Zackery for your contribution.

> where ".AssertionError" is a name-mangled free variable and is assigned once 
> the module is executed.

But this still allows to overriding builtin AssertionError before importing a 
module. And this solution would be much more complex that adding a new opcode.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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

Reply via email to