projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58a24b
)
Flush at the end of cythonize().
author
Robert Bradshaw
<robertwb@google.com>
Tue, 19 Mar 2013 17:29:22 +0000
(10:29 -0700)
committer
Robert Bradshaw
<robertwb@google.com>
Tue, 19 Mar 2013 17:29:22 +0000
(10:29 -0700)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
b67a6aa
..
2c84b60
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-693,6
+693,9
@@
def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, fo
module_list.remove(module)
if hasattr(options, 'cache'):
cleanup_cache(options.cache, getattr(options, 'cache_size', 1024 * 1024 * 100))
+ # cythonize() is often followed by the (non-Python-buffered)
+ # compiler output, flush now to avoid interleaving output.
+ sys.stdout.flush()
return module_list
# TODO: Share context? Issue: pyx processing leaks into pxd module