projects
/
cython.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix error handling in sequential cython runs
[cython.git]
/
Cython
/
Compiler
/
Main.py
diff --git
a/Cython/Compiler/Main.py
b/Cython/Compiler/Main.py
index 2e283d8d92a0d0ac36bcdeecd2eed1c6eabf2919..fcc1d68f1ce607abe81bdf5be1da9342be81201a 100644
(file)
--- a/
Cython/Compiler/Main.py
+++ b/
Cython/Compiler/Main.py
@@
-510,6
+510,7
@@
class Context(object):
return ".".join(names)
def setup_errors(self, options, result):
+ Errors.reset() # clear any remaining error state
if options.use_listing_file:
result.listing_file = Utils.replace_suffix(source, ".lis")
path = result.listing_file