diff options
author | Rayyan Ansari <rayyan@ansari.sh> | 2023-02-16 14:52:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 14:52:24 +0000 |
commit | 739c026f4488bd2e37d500a2c3d948aaf929b641 (patch) | |
tree | 733937b9fe265101f480e7a2480d427c1909cbac /Python/future.c | |
parent | 36b139af638cdeb671cb6b8b0315b254148688f7 (diff) | |
download | cpython-739c026f4488bd2e37d500a2c3d948aaf929b641.tar.gz cpython-739c026f4488bd2e37d500a2c3d948aaf929b641.zip |
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.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions