Message162111
I stepped through in pdb
(Pdb) p i
<_frozen_importlib.FileFinder object at 0x101066090>
(Pdb) iter_importer_modules(i, prefix)
[]
(Pdb) p hasattr(importer, 'iter_modules')
False
2.7 uses
[<pkgutil.ImpImporter instance at 0x107a4d830>]
(Pdb) pp dir(myimp)
['__doc__', '__init__', '__module__', 'find_module', 'iter_modules', 'path']
This seems related to http://www.python.org/dev/peps/pep-0420/ |
|
Date |
User |
Action |
Args |
2012-06-01 23:05:42 | pnasrat | set | recipients:
+ pnasrat, Marc.Abramowitz |
2012-06-01 23:05:42 | pnasrat | set | messageid: <1338591942.85.0.119532862273.issue14982@psf.upfronthosting.co.za> |
2012-06-01 23:05:42 | pnasrat | link | issue14982 messages |
2012-06-01 23:05:42 | pnasrat | create | |
|