diff Modules/parsermodule.c @ 69147:6e9dc970ac0e

Issue #10785: Store the filename as Unicode in the Python parser.
author Victor Stinner <victor.stinner@haypocalc.com>
date Tue, 05 Apr 2011 00:39:01 +0200
parents 81d7f78a633a
children 3ffd8dea77bf
line wrap: on
line diff
--- a/Modules/parsermodule.c	Mon Apr 04 23:42:30 2011 +0200
+++ b/Modules/parsermodule.c	Tue Apr 05 00:39:01 2011 +0200
@@ -584,6 +584,7 @@
         else
             PyParser_SetError(&err);
     }
+    PyParser_ClearError(&err);
     return (res);
 }