Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 17, 2020

Remove the undocumented PyOS_InitInterrupts() C function.

  • Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs
    other signal handlers, not only SIGINT.
  • Rename PyOS_FiniInterrupts() to _PySignal_Fini()

https://bugs.python.org/issue41713

Remove the undocumented PyOS_InitInterrupts() C function.

* Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs
  other signal handlers, not only SIGINT.
* Rename PyOS_FiniInterrupts() to _PySignal_Fini()
@vstinner vstinner merged commit 296a796 into python:master Nov 17, 2020
@vstinner vstinner deleted the remove_pyos_init_int branch November 17, 2020 15:22
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Remove the undocumented PyOS_InitInterrupts() C function.

* Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs
  other signal handlers, not only SIGINT.
* Rename PyOS_FiniInterrupts() to _PySignal_Fini()
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.

3 participants