Re: PEP 420 outstanding issues
Nick Coghlan <[email protected]>
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CADiSq7c99uRQtg-nL3kZgBnUVgdBq7Rk+FE9kF88xx+70=KAhQ@mail.gmail.com> |
PJE's proposal that self-contained package loaders *also* report their prospective __path__ entries in the second half of the tuple sounds reasonable to me. It provides a way to cleanly distinguish all 4 significant cases (standalone module, regular package, package portion, not found). The standard import system will treat the first two cases the same way, but making the distinction official means custom import systems can decide to do something different. Cheers, Nick. -- Sent from my phone, thus the relative brevity :) _______________________________________________ Import-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/import-sig