[issue37467] print_exception() crash when lxml 4.2.5 raises a parser error

2019-07-01 Thread STINNER Victor
New submission from STINNER Victor : Using attached sf.py and sf.xml, I can crash Python. lxml builds a fake traceback to inject the XML filename the XML line number where the parsing error occurs. The problem is that the filename is a bytes object, whereas print_exception() expects the filen

[issue37467] print_exception() crash when lxml 4.2.5 raises a parser error

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48450/sf.xml ___ Python tracker ___ ___ Python-bugs-list mailing list Uns