[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-06 Thread Paul Nasrat
Paul Nasrat pnas...@gmail.com 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, and potentially

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-02 Thread Paul Nasrat
Paul Nasrat pnas...@gmail.com 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

[issue14987] inspect missing warnings import

2012-06-02 Thread Paul Nasrat
New submission from Paul Nasrat pnas...@gmail.com: 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

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-01 Thread Paul Nasrat
Paul Nasrat pnas...@gmail.com 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 [pkgutil.ImpImporter instance at 0x107a4d830] (Pdb) pp dir

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-01 Thread Paul Nasrat
Paul Nasrat pnas...@gmail.com 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 rep...@bugs.python.org

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2012-01-29 Thread Paul Nasrat
Changes by Paul Nasrat pnas...@gmail.com: -- nosy: +pnasrat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9207 ___ ___ Python-bugs-list mailing

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-05 Thread Paul Nasrat
Changes by Paul Nasrat pnas...@googlemail.com: -- nosy: +pnasrat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3959 ___ ___ Python-bugs-list