[issue38712] add signal.pidfd_send_signal

2019-11-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 7483451577916e693af6d20cf520b2cc7e2174d2 by Benjamin Peterson in branch 'master': closes bpo-38712: Add signal.pidfd_send_signal. (GH-17070) https://github.com/python/cpython/commit/7483451577916e693af6d20cf520b2cc7e2174d2 -- resolu

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, I thought about that a bit. I choose signal because: 1. signal already has some specialized functions that send signals pthread_kill and raise_signal. 2. If we every do want to implement the third parameter of pidfd_send_signal, the signal module alr

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Nathaniel Smith
Nathaniel Smith added the comment: I guess a bikeshed question is whether it should be `os.pidfd_send_signal` (like `os.kill`) or `signal.pidfd_send_signal` (like `signal.pthread_kill`). I don't actually care either way myself :-) -- ___ Python tr

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +16579 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17070 ___ Python tracker __

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- nosy: +njs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38712] add signal.pidfd_send_signal

2019-11-05 Thread Benjamin Peterson
New submission from Benjamin Peterson : Add signal.pidfd_send_signal, which will wrap the Linux 5.1 syscall of the same name. -- components: Library (Lib) messages: 356091 nosy: benjamin.peterson priority: normal severity: normal status: open title: add signal.pidfd_send_signal version