Message175734
I was bitten by this behavior while, new to the importlib library, I
was trying to understand if one has to call recursively find_loader
for a dotted module name (in the way it must be done when using
imp.find_module), since the documentation on find_loader is not
clear. My test environment happened to be at that time:
foo.py
mypackage
__init__.py
foo.py
and at first I could not understand why find_loader('mypackage.foo')
was returning a loader, while find_loader('logging.handlers') was
returning None.
It is fine with me to consider that this behavior does not have
to be changed and to close this discussion. |
|
Date |
User |
Action |
Args |
2012-11-17 12:15:21 | xdegaye | set | recipients:
+ xdegaye, brett.cannon, eric.smith, r.david.murray |
2012-11-17 12:15:21 | xdegaye | set | messageid: <1353154521.33.0.273567475203.issue16489@psf.upfronthosting.co.za> |
2012-11-17 12:15:21 | xdegaye | link | issue16489 messages |
2012-11-17 12:15:21 | xdegaye | create | |
|