Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.6] bpo-30703: Improve signal delivery (GH-2415)#2527

Merged
pitrou merged 2 commits intopython:3.6python/cpython:3.6from
pitrou:backport-c08177a-3.6pitrou/cpython:backport-c08177a-3.6Copy head branch name to clipboard
Jul 1, 2017
Merged

[3.6] bpo-30703: Improve signal delivery (GH-2415)#2527
pitrou merged 2 commits intopython:3.6python/cpython:3.6from
pitrou:backport-c08177a-3.6pitrou/cpython:backport-c08177a-3.6Copy head branch name to clipboard

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented Jul 1, 2017

  • Improve signal delivery

Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

  • Remove unused function

  • Improve comments

  • Add stress test

  • Adapt for --without-threads

  • Add second stress test

  • Add NEWS blurb

  • Address comments @Haypo.
    (cherry picked from commit c08177a)

* Improve signal delivery

Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

* Remove unused function

* Improve comments

* Add stress test

* Adapt for --without-threads

* Add second stress test

* Add NEWS blurb

* Address comments @Haypo.
(cherry picked from commit c08177a)
* bpo-30796: Fix failures in signal delivery stress test

setitimer() can have a poor minimum resolution on some machines,
this would make the test reach its deadline (and a stray signal
could then kill a subsequent test).

* Make sure to clear the itimer after the test
@pitrou pitrou merged commit 3024c05 into python:3.6 Jul 1, 2017
@pitrou pitrou deleted the backport-c08177a-3.6 branch July 1, 2017 17:12
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.