Message168493
When people want to import modules with "runtime" names, they regrettably turn to __import__(), have done so for many years, and likely will for a while.
If it were less convenient to use __import__(), fewer people would use it. I'm putting together a patch that removes it from <module>.__builtins__, so that it will not be found during normal name lookup. However, it will still available for the adventurous spirit via the imp module, following the precedent of reload().
This proposal came up in issue15715. |
|
Date |
User |
Action |
Args |
2012-08-18 03:38:09 | eric.snow | set | recipients:
+ eric.snow, brett.cannon |
2012-08-18 03:38:09 | eric.snow | set | messageid: <1345261089.07.0.0712105087978.issue15720@psf.upfronthosting.co.za> |
2012-08-18 03:38:08 | eric.snow | link | issue15720 messages |
2012-08-18 03:38:07 | eric.snow | create | |
|