Message404513
On Mon, Jan 7, 2019 at 11:41 PM Eric V. Smith <[email protected]> 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.
""" |
|
| Date |
User |
Action |
Args |
| 2021-10-20 18:41:54 | eric.snow | set | recipients:
+ eric.snow, barry, brett.cannon, ronaldoussoren, eric.smith, FFY00, fwahhab |
| 2021-10-20 18:41:54 | eric.snow | link | issue35673 messages |
| 2021-10-20 18:41:54 | eric.snow | create | |
|