From a3d8f902ed53b9ad535f5770a42991d1237ebd98 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 5 May 2012 17:58:14 +0200 Subject: [PATCH] PEP 419: update from Paul. --- pep-0419.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pep-0419.txt b/pep-0419.txt index 9498776e2..97814d69e 100644 --- a/pep-0419.txt +++ b/pep-0419.txt @@ -310,6 +310,9 @@ cleanup handlers, be prepared to handle ``InterruptedError`` explicitly. An example of such code might be a file-based lock 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 -------------------------------------------------- @@ -500,6 +503,9 @@ References .. [4] Original discussion 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 =========