Re: PEP 420: Implicit Namespace Packages
Nick Coghlan <[email protected]>
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CADiSq7cCJQOENx64DOKeJ7WdhDu89jNQXOKGy4MZbgyNwDABoQ@mail.gmail.com> |
I'd still prefer to just officially bless the existing "<whatever>" convention for non-filesystem imports over encouraging type checks on __loader__ or defining a new introspection interface for loaders. If we say "this is the stdlib convention" people are going to start using the same check as is now used in traceback.py The precedent is there with code objects, and I think it's a good example to follow. Cheers, Nick. -- Sent from my phone, thus the relative brevity :) _______________________________________________ Import-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/import-sig