Skip to content

bpo-40221: Update ForkAwareThreadLock to use _at_fork_reinit#19477

Merged
corona10 merged 2 commits intopython:masterfrom
corona10:bpo-40221-ForkAwareThreadLock
Apr 14, 2020
Merged

bpo-40221: Update ForkAwareThreadLock to use _at_fork_reinit#19477
corona10 merged 2 commits intopython:masterfrom
corona10:bpo-40221-ForkAwareThreadLock

Conversation

@corona10
Copy link
Member

@corona10 corona10 commented Apr 11, 2020

@@ -0,0 +1 @@
Update ForkAwareThreadLock to use _at_fork_reinit.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For such news entry, you should mention which module is modified. The user reading the NEWS entry has no idea, except maybe multiprocessing experts ;-)

For this specific change, honestly, I don't think that end users really care: I suggest to remove the NEWS entry. The change doesn't seem to fix any known crash, it's more a cleanup/refactoring.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if you remove the NEWS entry. But I also suggest to mention somehow multiprocessing in the commit message.

@vstinner
Copy link
Member

vstinner commented Apr 14, 2020

Commit message: for example, " bpo-40221: Update multiprocessing to use _at_fork_reinit".

@corona10 corona10 merged commit e194530 into python:master Apr 14, 2020
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.

4 participants