[pypy-issue] [issue945] import shadowing module from __init__.py as __main__ fails

Armin Rigo tracker at bugs.pypy.org
Wed Nov 30 12:18:24 CET 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

Ah, maybe I found a way around these issues of modules being built-in in pypy,
shadowing user-defined modules.  How about we rename all seldom-used built-in
modules to some strange name, and put in lib_pypy a pure Python module that just
say "from __symbol import *"?

Actually we could do this for all modules that are .so extension modules in a
"normal" CPython build, for some definition of "normal".

nosy: +arigo

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list