summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/io.rst7
-rw-r--r--Doc/library/os.rst8
2 files changed, 11 insertions, 4 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 634bf58..f009c65 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -339,8 +339,11 @@ I/O Base Classes
if *size* is not specified). The current stream position isn't changed.
This resizing can extend or reduce the current file size. In case of
extension, the contents of the new file area depend on the platform
- (on most systems, additional bytes are zero-filled, on Windows they're
- undetermined). The new file size is returned.
+ (on most systems, additional bytes are zero-filled). The new file size
+ is returned.
+
+ .. versionchanged:: 3.5
+ Windows will now zero-fill files when extending.
.. method:: writable()
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index eb10db6..bd09937 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -805,8 +805,10 @@ as internal buffering of data.
most *length* bytes in size. As of Python 3.3, this is equivalent to
``os.truncate(fd, length)``.
- Availability: Unix.
+ Availability: Unix, Windows.
+ .. versionchanged:: 3.5
+ Added support for Windows
.. function:: get_blocking(fd)
@@ -2492,10 +2494,12 @@ features:
This function can support :ref:`specifying a file descriptor <path_fd>`.
- Availability: Unix.
+ Availability: Unix, Windows.
.. versionadded:: 3.3
+ .. versionchanged:: 3.5
+ Added support for Windows
.. function:: unlink(path, *, dir_fd=None)