New submission from Thomas Grainger <tagr...@gmail.com>:
importing from a bytes zipimport path on sys.path results in a BytesWarning: Comparison between bytes and string running the reproducer with `python -b` shows: python -b zipfile_demo.py <frozen importlib._bootstrap_external>:1345: BytesWarning: Comparison between bytes and string see also https://bugs.python.org/issue47025 ---------- components: Library (Lib) files: zipfile_demo.py messages: 415245 nosy: graingert priority: normal severity: normal status: open title: BytesWarning in zipimport paths on sys.path versions: Python 3.10, Python 3.11, Python 3.9 Added file: https://bugs.python.org/file50680/zipfile_demo.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com