Re: PEP 420 issue: extend_path

PJ Eby <[email protected]>
Newsgroups gmane.comp.python.import
Message-ID <CALeMXf4SGTcAz0yentZdM6npnbS7t8xnGwmc6zDrrLLAU6kGbA@mail.gmail.com>
On May 7, 2012 6:53 AM, "Antoine Pitrou" <[email protected]> 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.

_______________________________________________
Import-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/import-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.