[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-15 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com 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 rep...@bugs.python.org

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15297 ___

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Ronan Lamy
Ronan Lamy ronan.l...@gmail.com 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. --

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com 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

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-08 Thread Chris Jerdonek
New submission from Chris Jerdonek chris.jerdo...@gmail.com: 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