gh-71019: document which objects connect_read_pipe/connect_write_pipe accept and add tests#153660
Conversation
…e_pipe accept The docs described *pipe* as simply a file-like object, which suggested that regular files and the standard streams would work. They do not: on Unix only pipes, sockets and character devices are accepted (anything else raises ValueError), and on Windows only handles opened for overlapped I/O can be associated with an I/O completion port, so console handles and file handles fail asynchronously rather than at call time. Spell out what is accepted on each platform and note that regular files are never supported.
Documentation build overview
|
|
Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
Sorry, @kumaraditya303, I could not cleanly backport this to |
|
Sorry, @kumaraditya303, I could not cleanly backport this to |
|
Sorry, @kumaraditya303, I could not cleanly backport this to |
|
GH-153685 is a backport of this pull request to the 3.15 branch. |
|
GH-153686 is a backport of this pull request to the 3.14 branch. |
|
GH-153687 is a backport of this pull request to the 3.13 branch. |
Uh oh!
There was an error while loading. Please reload this page.