diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-05 00:39:01 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-05 00:39:01 +0200 |
| commit | 7f2fee36401f7b987a368fe043637b3ae7116600 (patch) | |
| tree | d21cec17c440b8255cf9bc4c79269d6bfb3253f0 /Modules | |
| parent | 9bdb43e43f9f5d80699e297c2f73c106179b33d5 (diff) | |
| download | cpython-git-7f2fee36401f7b987a368fe043637b3ae7116600.tar.gz | |
Issue #10785: Store the filename as Unicode in the Python parser.
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/parsermodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 3cdf1359a6..e5b4e55943 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -584,6 +584,7 @@ parser_do_parse(PyObject *args, PyObject *kw, char *argspec, int type) else PyParser_SetError(&err); } + PyParser_ClearError(&err); return (res); } |
