Tag : python-internals

Why import * is not allowed outside the global scope

So today I was looking at import machinery in Python due to this question about import styles in Persephone, an open source natural language processing library I’ve been contributing to. Looking around at this more I’ve found a couple of things that I didn’t realize before: Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0