[Import-SIG] PEP 420 issue: extend_path

PJ Eby pje at telecommunity.com
Mon May 7 15:48:31 CEST 2012

On May 7, 2012 6:53 AM, "Antoine Pitrou" <solipsis at pitrou.net> wrote:
> I think find_module() returning a string is a kludge. It would be
> better IMO if it returned a dedicated object clearly pointing out that
> a namespace package was potentially found (and also allowing to record
> other potential metadata).

There isn't any other metadata to record, since a namespace package is
simply the sum of its component parts.  This makes the string an elegant
solution to the requirements, and not a kludge at all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/import-sig/attachments/20120507/4f01e271/attachment.html>

More information about the Import-SIG mailing list