STINNER Victor <vstin...@python.org> added the comment:
I understand that this bug is a duplicate of bpo-37467 that I fixed recently in 3.7, 3.8 and master branches: commit f9b7457bd7f438263e0d2dd1f70589ad56a2585e Author: Victor Stinner <vstin...@redhat.com> Date: Mon Jul 1 16:51:18 2019 +0200 bpo-37467: Fix PyErr_Display() for bytes filename (GH-14504) > It has been fixed in 3.7+ by issue37467, but the fix was not backported to > 3.6. Python 3.6 no longer accept bug fixes, only security fixes: https://devguide.python.org/#status-of-python-branches And this bug doesn't look like a security issue. Python 2.7 doesn't seem to be affected by this issue. In short, nothing can be one on the Python side: please upgrade to Python 3.7. I close this issue as a duplicate of bpo-37467. ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38042> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com