Message159162
| Author |
eric.smith |
| Recipients |
barry, brett.cannon, eric.smith, jaraco |
| Date |
2012年04月24日.15:37:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335281879.19.0.607267120297.issue14660@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I created the NamespaceLoader in the feature branch. It has a load_module, but it's only ever called by the code in PathFinder.load_module:
loader = NamespaceLoader(namespace_path)
return loader.load_module(fullname)
namespace_path is what will become module.__path__. In order to keep the load_module API (single fullname argument), I pass it in to the constructor. There's no particular need for it to follow that API, but it does. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月24日 15:37:59 | eric.smith | set | recipients:
+ eric.smith, barry, brett.cannon, jaraco |
| 2012年04月24日 15:37:59 | eric.smith | set | messageid: <1335281879.19.0.607267120297.issue14660@psf.upfronthosting.co.za> |
| 2012年04月24日 15:37:58 | eric.smith | link | issue14660 messages |
| 2012年04月24日 15:37:58 | eric.smith | create |
|