[Import-SIG] PEP 420 issue: extend_path

Barry Warsaw barry at python.org
Wed May 9 02:23:14 CEST 2012

On May 08, 2012, at 08:16 PM, Eric V. Smith wrote:

>In the pep-420 branch I've checked in code where find_loader() returns
>(loader, list_of_portions). I've implemented it for the FileFinder and
>loader can be None or a loader object.
>list_of_portions can be an empty list, or a list of strings.
>To indicate "no loader or portions found", return (None, []).
>If loader is not None, list_of_portions is ignored.
>I'm pretty happy with this API. Comments welcome.

Me too.  Really nicely done.


More information about the Import-SIG mailing list