INADA Naoki added the comment: https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap_external.py#L1089-L1095
While '' in sys.path, it is converted to `getcwd()` before calling PathHook. Is there any chance relative / not normalized path is in sys.path before site is loaded? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com