Eric Snow added the comment:

When people want to import modules with "runtime" names, they regrettably turn 
to __import__() and likely will for a while.  What a source of headaches!

If it were less convenient to use __import__(), perhaps fewer people would use 
it.  Could we remove it from <module>.__builtins__, so that it would not be 
found during the lookup chain?  We could still expose it in the builtins module 
or move it to imp.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15715>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to