[issue35536] Calling built-in locals() and globals() in C++ leads to SystemError

Benjamin Peterson report at bugs.python.org
Thu Dec 20 00:41:46 EST 2018


Benjamin Peterson <benjamin at python.org> added the comment:

What behavior are you expecting? If there isn't any Python code in the callback, globals() and locals() are meaningless.

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list