PEP 419: update from Paul.
This commit is contained in:
parent
fcbc01ee45
commit
a3d8f902ed
|
@ -310,6 +310,9 @@ cleanup handlers, be prepared to handle ``InterruptedError``
|
||||||
explicitly. An example of such code might be a file-based lock
|
explicitly. An example of such code might be a file-based lock
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
|
:func:`signal.pthread_sigmask` can be used to block signals inside
|
||||||
|
cleanup handlers which can be interrupted with ``EINTR``.
|
||||||
|
|
||||||
|
|
||||||
Setting Interruption Context Inside Finally Itself
|
Setting Interruption Context Inside Finally Itself
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -500,6 +503,9 @@ References
|
||||||
.. [4] Original discussion
|
.. [4] Original discussion
|
||||||
http://mail.python.org/pipermail/python-ideas/2012-April/014705.html
|
http://mail.python.org/pipermail/python-ideas/2012-April/014705.html
|
||||||
|
|
||||||
|
.. [5] Issue #14730: Implementation of the PEP 419
|
||||||
|
http://bugs.python.org/issue14730
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
=========
|
=========
|
||||||
|
|
Loading…
Reference in New Issue