[Import-SIG] New PEP draft: "Simplified Package Layout and Partitioning"

Brett Cannon brett at python.org
Sun Aug 21 02:09:15 CEST 2011


On Sat, Aug 20, 2011 at 16:47, Greg Slodkowicz <jergosh at gmail.com> wrote:

> Can you be more specific about what the failure is? That specific test has
>> multiple asserts. The point of the test is to simply make sure that
>> meta_path finders get called with None when __path__ is not defined.
>>
>
> Good point, sorry. It's the last one that fails,
>
> self.assertTrue(args[1] is None)
>

So that means that a module that has no __path__ defined is causing
importlib to pass something other than None for a 'path' argument. Didn't
you add some argument to meta_path importers? That could be triggering the
failure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/import-sig/attachments/20110820/6f541415/attachment.html>


More information about the Import-SIG mailing list