Re: PEP 420: Implicit Namespace Packages

"Eric V. Smith" <[email protected]>
Newsgroups gmane.comp.python.import
Message-ID <[email protected]>
On 5/2/2012 3:17 AM, "Martin v. Löwis" wrote:
>> About the only question I have is: Is everyone okay with the changes to
>> the finders, described in the PEP?
> 
> It looks good to me. It's a somewhat surprising change, but I can see no
> flaw in it.

Surprising in that any change to find_module is needed, or surprising
that it now returns one of {None, loader, str}?

If it's the latter: yeah, it's a little strange. But find_module knows
something that the caller needs to be told. It seemed easiest to add
another possible return type. Any other suggestions?

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