Eric Snow <ericsnowcurren...@gmail.com> added the comment:

On Mon, Jan 7, 2019 at 11:41 PM Eric V. Smith <rep...@bugs.python.org> wrote:
> Namespace packages (PEP 420) predate ModuleSpec (PEP 451). So, I think this 
> probably happened when 451 was implemented. Maybe Eric Snow recalls?

PEP 451 talks about this a little
(https://www.python.org/dev/peps/pep-0451/#namespace-packages):

"""
Currently a path entry finder may return (None, portions) from
find_loader() to indicate it found part
of a possible namespace package. To achieve the same effect,
find_spec() must return a spec with
"loader" set to None (a.k.a. not set) and with
submodule_search_locations set to the same portions
as would have been provided by find_loader(). It's up to PathFinder
how to handle such specs.
"""

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to