Jens Vagelpohl <j...@netz.ooo> added the comment:
Thank you for the prompt reply. It turns out this is not a bug in py_compile. Other code we use imports importlib.util briefly for a quick check at module level and then deletes it, also at module scope. Removing the deletion fixes the issue. Thanks again and apologies! ---------- resolution: -> third party _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com