[pygobject] ossig: pass the signal number and frame to default_int_handler()
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] ossig: pass the signal number and frame to default_int_handler()
- Date: Sun, 1 Apr 2018 09:32:24 +0000 (UTC)
commit 89a68f503fad697ca190196e5284c01b13af6b37
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Apr 1 11:15:18 2018 +0200
ossig: pass the signal number and frame to default_int_handler()
PyPy doesn't have default parameter values there.
gi/_ossighelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/_ossighelper.py b/gi/_ossighelper.py
index 5d92366e..dc8a8272 100644
--- a/gi/_ossighelper.py
+++ b/gi/_ossighelper.py
@@ -267,4 +267,4 @@ def register_sigint_fallback(callback):
yield
finally:
if _sigint_called:
- signal.default_int_handler()
+ signal.default_int_handler(signal.SIGINT, None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]