You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mitogen was leaving the stdout and stderr of subprocesses in non-blocking mode. When Python code ran in the remote process created by Mitogen calls such as `print(long_string)` or `os.stout.write(bigger_than_the_buffer)` sometimes raised `BlockingIOError`, or similar. This change - Removes code in `mitogen.core.Side` that set blocking/non-blocking mode - Adds blocking/non-blocking control to `os.mitogen.pipe()` and a new function `mitogen.core.socketpair()` - Replaces `mitogen.core.set_block` and `mitogen.core.set_nonblock` with `mitogen.core.set_blocking`, mirroring `os.set_blocking` - Updates call sites as appropriate - Adds tests for new functions and arguments - Adds a regression test for subprocess stdio blocking/non-blocking fixes #712 |
5 months ago | |
|---|---|---|
| .. | ||
| _static | 7 years ago | |
| _templates | 1 year ago | |
| images | 7 years ago | |
| .gitignore | 8 years ago | |
| Makefile | 7 years ago | |
| ansible_detailed.rst | 6 months ago | |
| api.rst | 4 years ago | |
| changelog.rst | 5 months ago | |
| conf.py | 7 months ago | |
| contributors.rst | 11 months ago | |
| domainrefs.py | 6 years ago | |
| examples.rst | 4 years ago | |
| getting_started.rst | 6 years ago | |
| howitworks.rst | 1 year ago | |
| index.rst | 2 years ago | |
| internals.rst | 6 years ago | |
| netlify.toml | 12 months ago | |
| pickle-substitutes.ods | 8 years ago | |
| requirements.txt | 2 years ago | |
| services.rst | 7 years ago | |
| toc.rst | 6 years ago | |