diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-10-21 07:01:05 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-10-21 07:01:05 (GMT) |
commit | 2eba6ad7bf3a5beeed54209a0107be8e1ac77767 (patch) | |
tree | c48beb385ccecbbaec8a892ea9972a795fda09c9 /Doc | |
parent | a9ed91e6c2f0f1a9960b1382321918448228a801 (diff) | |
download | cpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.zip cpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.tar.gz cpython-2eba6ad7bf3a5beeed54209a0107be8e1ac77767.tar.bz2 |
bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 5 | ||||
-rw-r--r-- | Doc/whatsnew/3.9.rst | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index fe9531b..8e9d9e6 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3946,8 +3946,10 @@ written in Python, such as a mail server's external command delivery program. .. data:: CLD_EXITED + CLD_KILLED CLD_DUMPED CLD_TRAPPED + CLD_STOPPED CLD_CONTINUED These are the possible values for :attr:`si_code` in the result returned by @@ -3957,6 +3959,9 @@ written in Python, such as a mail server's external command delivery program. .. versionadded:: 3.3 + .. versionchanged:: 3.9 + Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values. + .. function:: waitpid(pid, options) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 6b4abc0..f203930 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -125,6 +125,12 @@ that schedules a shutdown for the default executor that waits on the :func:`asyncio.run` has been updated to use the new :term:`coroutine`. (Contributed by Kyle Stanley in :issue:`34037`.) +os +__ + +Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:`si_code`. +(Contributed by Dong-hee Na in :issue:`38493`.) + threading --------- |