commit | 7f2fee36401f7b987a368fe043637b3ae7116600 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Apr 05 00:39:01 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Apr 05 00:39:01 2011 +0200 |
tree | d21cec17c440b8255cf9bc4c79269d6bfb3253f0 | |
parent | 9bdb43e43f9f5d80699e297c2f73c106179b33d5 [diff] |
Issue #10785: Store the filename as Unicode in the Python parser.
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 3cdf135..e5b4e55 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c
@@ -584,6 +584,7 @@ else PyParser_SetError(&err); } + PyParser_ClearError(&err); return (res); }