There was an error while loading. Please reload this page.
1 parent cdb1b1d commit def2841Copy full SHA for def2841
1 file changed
Doc/whatsnew/3.16.rst
@@ -819,6 +819,13 @@ that may require changes to your code.
819
:exc:`TypeError`.
820
(Contributed by Serhiy Storchaka in :gh:`152587`.)
821
822
+* On Windows, seeking a pipe now fails instead of silently appearing to
823
+ succeed: :func:`os.lseek` and :meth:`~io.IOBase.seek` raise :exc:`OSError`,
824
+ and :meth:`~io.IOBase.seekable` returns ``False``. As a consequence,
825
+ opening a pipe in a read-write binary mode (``'r+b'`` or ``'w+b'``) now
826
+ raises :exc:`io.UnsupportedOperation` unless buffering is disabled.
827
+ (Contributed by An Long in :gh:`86768`.)
828
+
829
830
Build changes
831
=============
0 commit comments