Closed alexei-argus closed 6 years ago
__builtins__
isn't available in Python 3. It's called builtins
there, which is the original reason for that import ... except
dance introduced in 774348c8.
(f6bf295 should fix the Travis failures, by the way.)
I'll reopen another one with Python 3 support (won't be pretty but should work)l
I encountered a bug: in newer versions of python 2.7.x (but not all of them, for instance, not in the Anaconda bundles) you have a builtins module that doesn't include the import attribute.
I changed it to always look for the builtins module.
What do you think?