SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 117 Python

gh-101881: Support (non-)blocking read/write functions on Windows pipes (GH-101882)

* fileutils: handle non-blocking pipe IO on Windows

Handle erroring operations on non-blocking pipes by reading the _doserrno code.
Limit writes on non-blocking pipes that are too large.

* Support blocking functions on Windows

Use the GetNamedPipeHandleState and SetNamedPipeHandleState Win32 API functions to add support for os.get_blocking and os.set_blocking.
R
Rayyan Ansari committed
739c026f4488bd2e37d500a2c3d948aaf929b641
Parent: 36b139a
Committed by GitHub <noreply@github.com> on 2/16/2023, 2:52:24 PM