Author: Ronan Lamy <[email protected]>
Branch: rpython-resync
Changeset: r86649:52f419ecbd77
Date: 2016-08-28 19:44 +0100
http://bitbucket.org/pypy/pypy/changeset/52f419ecbd77/
Log: Update for changed signature of pypysig_set_wakeup_fd()
diff --git a/pypy/module/signal/interp_signal.py
b/pypy/module/signal/interp_signal.py
--- a/pypy/module/signal/interp_signal.py
+++ b/pypy/module/signal/interp_signal.py
@@ -64,7 +64,7 @@
AsyncAction.__init__(self, space)
self.pending_signal = -1
self.fire_in_another_thread = False
- #
+
@rgc.no_collect
def _after_thread_switch():
if self.fire_in_another_thread:
@@ -251,7 +251,7 @@
except OSError as e:
if e.errno == errno.EBADF:
raise oefmt(space.w_ValueError, "invalid fd")
- old_fd = pypysig_set_wakeup_fd(fd)
+ old_fd = pypysig_set_wakeup_fd(fd, True)
return space.wrap(intmask(old_fd))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit