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

bpo-43963: Add a module state to _signal #25676

Merged
merged 1 commit into from
Apr 28, 2021
Merged

bpo-43963: Add a module state to _signal #25676

merged 1 commit into from
Apr 28, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 28, 2021

  • Add signal_state_t structure and signal_global_state variable.

  • Add a module state to the _signal module.

  • Move and rename variables:

    • DefaultHandler becomes state->default_handler
    • IgnoreHandler becomes state->ignore_handler
    • sigint_event becomes state->sigint_event
    • ItimerError becomes modstate->itimer_error
  • Rename SetHandler() to set_handler() to be consistent with
    get_handler().

https://bugs.python.org/issue43963

* Add signal_state_t structure and signal_global_state variable.
* Add a module state to the _signal module.
* Move and rename variables:

  * DefaultHandler becomes state->default_handler
  * IgnoreHandler becomes state->ignore_handler
  * sigint_event becomes state->sigint_event
  * ItimerError becomes modstate->itimer_error

* Rename SetHandler() to set_handler() to be consistent with
  get_handler().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants