[issue44643] importing does not dispatch to __builtins__.__getitem__ to lookup __import__

Patrick Reader report at bugs.python.org
Thu Jul 15 06:44:02 EDT 2021


Patrick Reader <pxeger at protonmail.com> added the comment:

Similarly, when passing a subclass of dict to exec or eval as the locals or globals, all other instructions dispatch to the correct __getitem__ method. I'm pretty sure that's not CPython-private

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44643>
_______________________________________


More information about the Python-bugs-list mailing list