signal.default_int_handler differences

Issue #2780 resolved
Christoph Reiter
created an issue

Afaics it's not documented so feel free to close.

CPython:

>>> signal.default_int_handler()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyboardInterrupt
>>> 

PyPy:

>>>> signal.default_int_handler()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: default_int_handler() takes exactly 2 arguments (0 given)
>>>> 

Comments (2)

  1. Log in to comment