Eric V. Smith <e...@trueblade.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14660>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to