]> granicus.if.org Git - python/commitdiff
Merge 3.4 into 3.5
authorMartin Panter <vadmium>
Wed, 9 Sep 2015 06:27:43 +0000 (06:27 +0000)
committerMartin Panter <vadmium>
Wed, 9 Sep 2015 06:27:43 +0000 (06:27 +0000)
1  2 
Doc/library/os.rst
Lib/test/test_os.py
Modules/posixmodule.c

index 25888e493e362b1e490dca7e4971752c9b2b789c,984f2dd687102b038295bfd8dc20d227165f3089..13f83c603757dd5d35f7101c57c90249675b8665
@@@ -1065,14 -1070,9 +1065,14 @@@ or `the MSDN <http://msdn.microsoft.com
        :func:`popen` or :func:`fdopen`, or :data:`sys.stdin`, use its
        :meth:`~file.read` or :meth:`~file.readline` methods.
  
 +   .. versionchanged:: 3.5
 +      If the system call is interrupted and the signal handler does not raise an
 +      exception, the function now retries the system call instead of raising an
 +      :exc:`InterruptedError` exception (see :pep:`475` for the rationale).
 +
  
  .. function:: sendfile(out, in, offset, count)
-               sendfile(out, in, offset, count, headers=None, trailers=None, flags=0)
+               sendfile(out, in, offset, count, [headers], [trailers], flags=0)
  
     Copy *count* bytes from file descriptor *in* to file descriptor *out*
     starting at *offset*.
Simple merge
Simple merge