Christian Heimes <li...@cheimes.de> added the comment:
It works as designed and documented. An empty string is considered a relative directory. https://docs.python.org/3/library/sys.html#sys.pycache_prefix > If this is set (not None), Python will write bytecode-cache .pyc files to > (and read them from) a parallel directory tree rooted at this directory... > > A relative path is interpreted relative to the current working directory. ---------- nosy: +christian.heimes _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com