Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

bpo-31731: Fix test_io.check_interrupted_write()#11225

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:test_io
Dec 18, 2018
Merged

bpo-31731: Fix test_io.check_interrupted_write()#11225
vstinner merged 1 commit intopython:masterfrom
vstinner:test_io

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedDec 18, 2018
edited by bedevere-bot
Loading

Fix a possible race condition in check_interrupted_write() of
test_io: create directly the thread with SIGALRM signal blocked,
rather than blocking the signal later from the thread. Previously, it
was possible that the thread gets the signal before the signal is
blocked.

https://bugs.python.org/issue31731

Fix a possible race condition in check_interrupted_write() oftest_io: create directly the thread with SIGALRM signal blocked,rather than blocking the signal later from the thread. Previously, itwas possible that the thread gets the signal before the signal isblocked.
@miss-islington
Copy link
Contributor

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-11226 is a backport of this pull request to the3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestDec 18, 2018
Fix a race condition in check_interrupted_write() of test_io:create directly the thread with SIGALRM signal blocked,rather than blocking the signal later from the thread. Previously, itwas possible that the thread gets the signal before the signal isblocked.(cherry picked from commit05c9d31)Co-authored-by: Victor Stinner <vstinner@redhat.com>
miss-islington added a commit that referenced this pull requestDec 18, 2018
Fix a race condition in check_interrupted_write() of test_io:create directly the thread with SIGALRM signal blocked,rather than blocking the signal later from the thread. Previously, itwas possible that the thread gets the signal before the signal isblocked.(cherry picked from commit05c9d31)Co-authored-by: Victor Stinner <vstinner@redhat.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

testsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@vstinner@miss-islington@bedevere-bot@the-knights-who-say-ni

Comments


[8]ページ先頭

©2009-2026 Movatter.jp