Add InterruptedError for EINTR
This commit is contained in:
parent
089008558c
commit
c15f626cbd
|
@ -376,6 +376,9 @@ the list of errnos mapped to them, is submitted to discussion:
|
|||
for non-blocking operation (EAGAIN, EALREADY, EWOULDBLOCK, EINPROGRESS);
|
||||
this is the existing ``io.BlockingIOError`` with an extended role
|
||||
|
||||
* ``InterruptedError``: a system call was interrupted by an incoming signal
|
||||
(EINTR)
|
||||
|
||||
* ``ConnectionAbortedError``: connection attempt aborted by peer (ECONNABORTED)
|
||||
|
||||
* ``ConnectionRefusedError``: connection reset by peer (ECONNREFUSED)
|
||||
|
@ -409,6 +412,7 @@ shown::
|
|||
+-- FileNotFoundError ENOENT
|
||||
+-- IsADirectoryError EISDIR
|
||||
+-- NotADirectoryError ENOTDIR
|
||||
+-- InterruptedError EINTR
|
||||
+-- PermissionError EACCES, EPERM
|
||||
+-- TimeoutError ETIMEDOUT
|
||||
|
||||
|
|
Loading…
Reference in New Issue