Message110241
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” |
|
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 | |
|