[pypy-svn] pypy default: Forgot to check for signals here as well
amauryfa
commits-noreply at bitbucket.org
Wed Jan 19 20:33:33 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r40951:50c1f4f3c10a
Date: 2011-01-19 19:14 +0100
http://bitbucket.org/pypy/pypy/changeset/50c1f4f3c10a/
Log: Forgot to check for signals here as well (the same change -with the
same comment- was already done higher in the file)
diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py
--- a/pypy/module/_io/interp_bufferedio.py
+++ b/pypy/module/_io/interp_bufferedio.py
@@ -707,7 +707,7 @@
# Partial writes can return successfully when interrupted by a
# signal (see write(2)). We must run signal handlers before
# blocking another time, possibly indefinitely.
- # XXX PyErr_CheckSignals()
+ space.getexecutioncontext().checksignals()
if self.readable:
self._reader_reset_buf()
More information about the Pypy-commit
mailing list