diff options
-rw-r--r-- | Python/compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index e547e03..dbff9b0 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1162,6 +1162,7 @@ parsenumber(struct compiling *co, char *s) "will return positive values " "in Python 2.4 and up") < 0) return NULL; + errno = 0; /* Might be changed by PyErr_Warn() */ } } else |