Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r61316:e7bbbe5d09ce Date: 2013-02-16 11:15 +0100 http://bitbucket.org/pypy/pypy/changeset/e7bbbe5d09ce/
Log: Don't name the SignalActionFlag explicitly here. 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 @@ -32,8 +32,7 @@ p = pypysig_getaddr_occurred() p.c_value = value - @staticmethod - def rearm_ticker(): + def rearm_ticker(self): p = pypysig_getaddr_occurred() p.c_value = -1 @@ -71,7 +70,7 @@ if self.fire_in_another_thread: if self.space.threadlocals.signals_enabled(): self.fire_in_another_thread = False - SignalActionFlag.rearm_ticker() + self.space.actionflag.rearm_ticker() # this occurs when we just switched to the main thread # and there is a signal pending: we force the ticker to # -1, which should ensure perform() is called quickly. _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit