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 | |
|---|---|---|
| .ci | 6 months ago | |
| .github | 5 months ago | |
| ansible_mitogen | 5 months ago | |
| docs | 5 months ago | |
| examples | 1 year ago | |
| mitogen | 5 months ago | |
| scripts | 2 years ago | |
| tests | 5 months ago | |
| .gitignore | 7 months ago | |
| .lgtm.yml | 6 years ago | |
| LICENSE | 5 years ago | |
| MANIFEST.in | 7 years ago | |
| README.md | 1 year ago | |
| dev_requirements.txt | 7 years ago | |
| netlify.toml | 12 months ago | |
| preamble_size.py | 4 years ago | |
| run_tests | 4 years ago | |
| setup.cfg | 6 months ago | |
| setup.py | 7 months ago | |
| tox.ini | 5 months ago | |
