Paul Moore <p.f.mo...@gmail.com> added the comment:
OK, cool. That might be worth explaining somewhere in the docs (although I don't really know where, as I'm not sure where namespace packages are documented, either :-)) I'm not at all sure what would happen if we have meta path finders A and B on sys.meta_path in that order, and A.find_spec("foo.bar") returns a spec, but A.find_spec("foo") doesn't and B.find_spec("foo") does. I think the honest answer is "I get a headache" ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com