[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: Closing as this is no longer an issue after Nick's pkgutil changes documented in issue 15343. -- status: open -> closed ___ Python tracker ___

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Marking this a documentation issue because the same behavior is also present in 2.7: Python 2.7.3 (default, Apr 19 2012, 00:55:09) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin >>> from pkgutil import iter_importers >>> list(i

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Ronan Lamy
Ronan Lamy added the comment: AFAICT, the intent of this function was to help provide a fully PEP-302 compliant import process wrapping the builtin C-implemented import mechanism. Nowadays, I believe that iterating over sys.meta_path should probably be enough. -- nosy: +Ronan.Lamy __

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-08 Thread Chris Jerdonek
New submission from Chris Jerdonek : I'm not sure if this should be fixed in the code or in the documentation, but the pkgutil.iter_importers() documentation says that pkgutil.iter_importers(name) should yield the "importers for sys.meta_path, sys.path, and Python’s “classic” import machinery,