Message168450
| Author |
eric.snow |
| Recipients |
brett.cannon, eric.snow, georg.brandl, pitrou, python-dev, sfeltman |
| Date |
2012年08月17日.17:36:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345224964.28.0.723379661615.issue15715@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|