Ronald Oussoren <ronaldousso...@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 <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