PEP 419: update from Paul.

This commit is contained in:
Georg Brandl 2012-05-05 17:58:14 +02:00
parent fcbc01ee45
commit a3d8f902ed
1 changed files with 6 additions and 0 deletions

View File

@ -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
========= =========