Oct. 20, 2019
9:50 a.m.
On Sun, Oct 20, 2019 at 02:56:22AM -0000, Steve Jorgensen wrote:
I have been able to at least unmask builtins by having the classdict object first try to get a result from `__builtins__` and then fall back to itself.
I've read the entire thread, and I don't understand what builtins has to do with your problem. But regardless, you shouldn't touch `__builtins__`, it is a private implementation detail of CPython. The right way is: import builtins # Python 3 import __builtin__ as builtins # Python 2 and then use `builtins`. -- Steven