]> granicus.if.org Git - python/commit
print_exception(): don't encode the module name to UTF-8
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 23:12:30 +0000 (00:12 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 23:12:30 +0000 (00:12 +0100)
commit937114f7043d6a52172a34fe04febcc5ed0eaed9
tree6844574e8fbf6a266b471ebae21b96eb15147e85
parenteaa2883d15ec7d67b85f125b307116c53566b88b
print_exception(): don't encode the module name to UTF-8

Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
Python/pythonrun.c