Message110241
| Author |
eric.araujo |
| Recipients |
belopolsky, brett.cannon, docs@python, eric.araujo |
| Date |
2010年07月13日.23:24:15 |
| SpamBayes Score |
0.017670479 |
| Marked as misclassified |
No |
| Message-id |
<1279063457.46.0.765722016252.issue9254@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
More rationale for not using a dummy fromlist, from Brett Cannon:
"Pulling from sys.modules is the correct way to do this. There are subtle
issues when using a bunk fromlist argument (empty modules, double
initialization, etc.). If one does not use importlib.import_module --
written *specifically* to prevent people from doing the nasty hack with the fromlist -- then you should use the sys.modules approach, period" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月13日 23:24:17 | eric.araujo | set | recipients:
+ eric.araujo, brett.cannon, belopolsky, docs@python |
| 2010年07月13日 23:24:17 | eric.araujo | set | messageid: <1279063457.46.0.765722016252.issue9254@psf.upfronthosting.co.za> |
| 2010年07月13日 23:24:15 | eric.araujo | link | issue9254 messages |
| 2010年07月13日 23:24:15 | eric.araujo | create |
|