Terry J. Reedy <tjreedy at udel.edu> added the comment: Also, __builtins__ is only a module, with a __dict__, in __main__. ---------- stage: patch review -> commit review _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue36405> _______________________________________