STINNER Victor <vstin...@python.org> added the comment:

> It looks like the globals dict passed to FunctionType(...) lacks a 
> __builtins__.

Right. But it worked in Python 3.9 :-)

----------

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

Reply via email to