[Python-checkins] r80862 - python/branches/signalfd-issue8407/Doc/library/signal.rst
jean-paul.calderone
python-checkins at python.org
Thu May 6 05:25:50 CEST 2010
Author: jean-paul.calderone
Date: Thu May 6 05:25:50 2010
New Revision: 80862
Log:
Add a bunch of versionadded markers. Also drop the section about unspecified multithreading behavior. This should work in multithreaded apps now.
Modified:
python/branches/signalfd-issue8407/Doc/library/signal.rst
Modified: python/branches/signalfd-issue8407/Doc/library/signal.rst
==============================================================================
--- python/branches/signalfd-issue8407/Doc/library/signal.rst (original)
+++ python/branches/signalfd-issue8407/Doc/library/signal.rst Thu May 6 05:25:50 2010
@@ -115,29 +115,40 @@
A possible value for the *how* parameter to :func:`sigprocmask`
indicating that signals are to be blocked.
+ .. versionadded:: 2.7
+
.. data:: SIG_UNBLOCK
A possible value for the *how* parameter to :func:`sigprocmask`
indicating that signals are to be unblocked.
+ .. versionadded:: 2.7
+
.. data:: SIG_SETMASK
A possible value for the *how* parameter to :func:`sigprocmask`
indicating that the signal mask is to be replaced.
+ .. versionadded:: 2.7
+
.. data:: SFD_CLOEXEC
A possible flag in the *flags* parameter to :func:`signalfd` which causes
the new file descriptor to be marked as close-on-exec.
+ .. versionadded:: 2.7
+
+
.. data:: SFD_NONBLOCK
A possible flag in the *flags* parameter to :func:`signalfd` which causes
the new file description to be set non-blocking.
+ .. versionadded:: 2.7
+
The :mod:`signal` module defines one exception:
@@ -272,7 +283,7 @@
*flags* is a bitvector which may include any :const:`signal.SFD_*` flag.
- .. versionadded:: X.Y
+ .. versionadded:: 2.7
.. function:: sigprocmask(how, mask)
@@ -291,10 +302,7 @@
*mask* is a list of signal numbers (eg :const:`signal.SIGUSR1`).
- The behavior of this function in a multi-threaded program is unspecified.
- See :func:`thread.sigmask` for multi-threaded uses. XXX
-
- .. versionadded:: X.Y
+ .. versionadded:: 2.7
.. _signal-example:
More information about the Python-checkins
mailing list