Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix _signal_handler call by signal.signal #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SnipGhost
Copy link

The stack_frame was removed in the commit, however this resulted in an error on exiting:

TypeError: _signal_handler() takes 2 positional arguments but 3 were given

As the signal.signal() is expecting a callback function with 2 arguments (self + signum & frame)

handler can be a callable Python object taking two arguments (see below), or one of the special values signal.SIG_IGN or signal.SIG_DFL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant