diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 23:12:30 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 23:12:30 (GMT) |
commit | 937114f7043d6a52172a34fe04febcc5ed0eaed9 (patch) | |
tree | 6844574e8fbf6a266b471ebae21b96eb15147e85 /Python/errors.c | |
parent | eaa2883d15ec7d67b85f125b307116c53566b88b (diff) | |
download | cpython-937114f7043d6a52172a34fe04febcc5ed0eaed9.zip cpython-937114f7043d6a52172a34fe04febcc5ed0eaed9.tar.gz cpython-937114f7043d6a52172a34fe04febcc5ed0eaed9.tar.bz2 |
print_exception(): don't encode the module name to UTF-8
Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString().
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions