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

Greg Slodkowicz jergosh at gmail.com
Wed Aug 24 15:05:02 CEST 2011

> 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.

Okay, this was in fact quite simple, _gcd_import() didn't need to initialise
the path passed to the importers with sys.path:
https://bitbucket.org/jergosh/pep-402/changeset/ff388e7aafd1. Thanks for the
tip, it helped me a lot. This means all unittests now pass (minus the 5
mentioned earlier).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/import-sig/attachments/20110824/518066e5/attachment.html>

More information about the Import-SIG mailing list