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 |
4 months ago | |
|---|---|---|
| .. | ||
| compat | 3 years ago | |
| plugins | 11 months ago | |
| utils | 6 months ago | |
| __init__.py | 8 years ago | |
| affinity.py | 1 year ago | |
| connection.py | 4 months ago | |
| loaders.py | 6 months ago | |
| logging.py | 1 year ago | |
| mixins.py | 6 months ago | |
| module_finder.py | 2 years ago | |
| parsing.py | 4 years ago | |
| planner.py | 6 months ago | |
| process.py | 4 months ago | |
| runner.py | 6 months ago | |
| services.py | 6 months ago | |
| strategy.py | 11 months ago | |
| target.py | 6 months ago | |
| transport_config.py | 5 months ago | |