commit | efa7a0e155e508f21dd7ace708b311066637538f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Nov 07 12:37:56 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Nov 07 12:37:56 2013 +0100 |
tree | 2f6153a87d447a9aabd6a089fa98a1888178d818 | |
parent | 0b69fbc6420115ce11e7f18249280a2c6d9a87ce [diff] |
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.