[issue35791] Unexpected exception with importlib

Ronald Oussoren report at bugs.python.org
Tue Jan 22 09:53:59 EST 2019


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I expected as much. 

I've filed an issue with apipkg for this: https://github.com/pytest-dev/apipkg/issues/13. 

My next challenge is to find a way to work around this issue in my code.

BTW. Typing.io is a namespace added to sys.modules by the typing module that also does not have __spec__, and causes similar problems. I have an simple workaround for that on my side.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35791>
_______________________________________


More information about the Python-bugs-list mailing list