print_error_text() doesn't encode the filename anymore
Use aslo PyUnicode_FromFormat() to format the line so only one call to PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has similar implementation.
V
Victor Stinner committed
efa7a0e155e508f21dd7ace708b311066637538f
Parent: 0b69fbc