Changes by Paul Nasrat :
--
nosy: +pnasrat
___
Python tracker
<http://bugs.python.org/issue3959>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Paul Nasrat :
--
nosy: +pnasrat
___
Python tracker
<http://bugs.python.org/issue9207>
___
___
Python-bugs-list mailing list
Unsubscribe:
Paul Nasrat added the comment:
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
[]
(Pdb) pp dir(myimp)
['__doc__', '__init
Paul Nasrat added the comment:
I was pretty tired when debugging last night and just quickly looked at hg
logs, so that may be misattributed.
I'll try come up with a clearer reproducer.
--
___
Python tracker
<http://bugs.python.org/is
Paul Nasrat added the comment:
Ok so it seems I can't just use sys.meta_path in pip to work with ImpImporter
due to according to the pydoc:
Note that ImpImporter does not currently support being used by placement on
sys.meta_path.
I guess I can write a custom importer in pip for han
New submission from Paul Nasrat :
Whilst looking for workarounds to http://bugs.python.org/issue14982 I came
across this, which is due to inspect using warnings without having importing it.
Fix is trivial but can upload a patch
Traceback (most recent call last):
File "t.py",
Paul Nasrat added the comment:
We've taken a simpler approach avoiding walk_packages in pip which we'll
release for 3.3. I'd say if pkgutil doesn't work correctly with importers &
loaders outside of it we probably should make that very explicit in the docs,