@@ -905,6 +905,11 @@ as internal buffering of data.
905905 .. versionadded :: 3.3
906906 The *dir_fd * argument.
907907
908+ .. versionchanged :: 3.5
909+ If the system call is interrupted and the signal does not raise an
910+ exception, the function now retries the system call instead of raising an
911+ :exc: `InterruptedError ` exception (see :pep: `475 ` for the rationale).
912+
908913The following constants are options for the *flags * parameter to the
909914:func: `~os.open ` function. They can be combined using the bitwise OR operator
910915``| ``. Some of them are not available on all platforms. For descriptions of
@@ -1082,6 +1087,11 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
10821087 :func: `popen ` or :func: `fdopen `, or :data: `sys.stdin `, use its
10831088 :meth: `~file.read ` or :meth: `~file.readline ` methods.
10841089
1090+ .. versionchanged :: 3.5
1091+ If the system call is interrupted and the signal does not raise an
1092+ exception, the function now retries the system call instead of raising an
1093+ :exc: `InterruptedError ` exception (see :pep: `475 ` for the rationale).
1094+
10851095
10861096.. function :: sendfile(out, in, offset, nbytes)
10871097 sendfile(out, in, offset, nbytes, headers=None, trailers=None, flags=0)
@@ -1197,6 +1207,11 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
11971207 :func: `fdopen `, or :data: `sys.stdout ` or :data: `sys.stderr `, use its
11981208 :meth: `~file.write ` method.
11991209
1210+ .. versionchanged :: 3.5
1211+ If the system call is interrupted and the signal does not raise an
1212+ exception, the function now retries the system call instead of raising an
1213+ :exc: `InterruptedError ` exception (see :pep: `475 ` for the rationale).
1214+
12001215
12011216.. function :: writev(fd, buffers)
12021217
@@ -3359,6 +3374,11 @@ written in Python, such as a mail server's external command delivery program.
33593374 id is known, not necessarily a child process. The :func: `spawn\* <spawnl> `
33603375 functions called with :const: `P_NOWAIT ` return suitable process handles.
33613376
3377+ .. versionchanged :: 3.5
3378+ If the system call is interrupted and the signal does not raise an
3379+ exception, the function now retries the system call instead of raising an
3380+ :exc: `InterruptedError ` exception (see :pep: `475 ` for the rationale).
3381+
33623382
33633383.. function :: wait3(options)
33643384
0 commit comments