[issue47025] bytes do not work on sys.path

Thomas Grainger report at bugs.python.org
Tue Mar 15 07:35:16 EDT 2022


Thomas Grainger <tagrain at gmail.com> added the comment:

zipimporter.zipimporter handles non-bytes paths here: https://github.com/python/cpython/blob/2cf7f865f099db11cc6903b334d9c376610313e8/Lib/zipimport.py#L65-L67 I think FileFinder should do the same

----------

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


More information about the Python-bugs-list mailing list