[pygobject/pygobject-3-28] 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/pygobject-3-28] ossig: pass the signal number and frame to default_int_handler()
- Date: Thu, 31 May 2018 14:51:18 +0000 (UTC)
commit 23f9f43f93befd177fb48c67e2d7da5f08a2b490
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 2c72134b..529f6ad8 100644
--- a/gi/_ossighelper.py
+++ b/gi/_ossighelper.py
@@ -260,4 +260,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]