Ronald Oussoren <ronaldousso...@mac.com> added the comment:

This might be a bug in "py", which uses a vendored version of apipkg that 
replaces sys.modules["py"] with a lazy loading object. That copy of apipkg does 
not copy __spec__ into the lazy loading object.

If this is indeed consider to be a bug in py I'll file an issue with them.

----------

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

Reply via email to