Message159276
I'd really prefer something like:
return load_ns_module(fullname, namespace_path)
The point being that load_module() as defined in PEP 302 will never be called on NamespaceLoader. The loader only needs to exist to set module.__loader__, and load_module() would never be called from there.
So we could pass in a callable named load_ns_module to PathFinder.
Then NamespaceLoader's load_module function could be named load_ns_module, made a class or static method.
I think I'll experiment with this. |
|
Date |
User |
Action |
Args |
2012-04-25 12:47:41 | eric.smith | set | recipients:
+ eric.smith, barry, brett.cannon, jaraco, eric.snow |
2012-04-25 12:47:41 | eric.smith | set | messageid: <1335358061.08.0.582800314719.issue14660@psf.upfronthosting.co.za> |
2012-04-25 12:47:37 | eric.smith | link | issue14660 messages |
2012-04-25 12:47:37 | eric.smith | create | |
|