Message165463
| Author |
brett.cannon |
| Recipients |
brett.cannon, chris.jerdonek, christopherthemagnificent, eric.araujo, georg.brandl, ncoghlan |
| Date |
2012年07月14日.18:35:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1342290922.17.0.458625828848.issue15343@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Right, you aren't getting ImpImporters because they are only used when a module doesn't define __loader__. But in Python 3.3, by default *all* modules get that attribute defined.
And yes, we could either tweak pkgutil to recognize FileFinder and special-case it or we can add the method and tweak the probably two or three places the method is called. It's a matter of effort. |
|