Message175592
In Torsten's example
from . import moduleX
can be replaced with
moduleX = importlib.import_module('.moduleX', __package__) (*)
or
moduleX = importlib.import_module('package.moduleX')
If that is not pretty enough then perhaps the new syntax
import .moduleX
could be introduced and made equivalent to (*). |
|
Date |
User |
Action |
Args |
2012-11-14 21:21:14 | sbt | set | recipients:
+ sbt, tim.peters, loewis, jhylton, brett.cannon, dcjim, ncoghlan, Rhamphoryncus, bronger, eric.araujo, flox, eric.snow |
2012-11-14 21:21:14 | sbt | set | messageid: <1352928074.18.0.517633089953.issue992389@psf.upfronthosting.co.za> |
2012-11-14 21:21:14 | sbt | link | issue992389 messages |
2012-11-14 21:21:13 | sbt | create | |
|