Message190670
sorry, the last example really needs to be:
#module foo.B
A = __import__(".A", fromlist=["dummy"])
to invoke the "return final module" behaviour.
Hm, maybe this simply works... I didn't test....
Nope, I get
ValueError: Empty module name (in 2.7) |
|
Date |
User |
Action |
Args |
2013-06-05 15:49:57 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, barry, brett.cannon, pje, ncoghlan, methane, eric.snow, pconnell, isoschiz, Pascal.Chambon |
2013-06-05 15:49:57 | kristjan.jonsson | set | messageid: <1370447397.71.0.901297845513.issue17636@psf.upfronthosting.co.za> |
2013-06-05 15:49:57 | kristjan.jonsson | link | issue17636 messages |
2013-06-05 15:49:57 | kristjan.jonsson | create | |
|