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 | |
|---|---|---|
| .. | ||
| compat | 6 years ago | |
| __init__.py | 5 months ago | |
| buildah.py | 4 years ago | |
| core.py | 5 months ago | |
| debug.py | 7 years ago | |
| doas.py | 6 years ago | |
| docker.py | 7 years ago | |
| fakessh.py | 5 months ago | |
| fork.py | 5 months ago | |
| jail.py | 6 years ago | |
| kubectl.py | 4 years ago | |
| lxc.py | 4 years ago | |
| lxd.py | 4 years ago | |
| master.py | 11 months ago | |
| minify.py | 7 years ago | |
| os_fork.py | 5 months ago | |
| parent.py | 5 months ago | |
| podman.py | 4 years ago | |
| profiler.py | 4 years ago | |
| select.py | 6 years ago | |
| service.py | 1 year ago | |
| setns.py | 7 years ago | |
| ssh.py | 1 year ago | |
| su.py | 1 year ago | |
| sudo.py | 6 years ago | |
| unix.py | 5 months ago | |
| utils.py | 1 year ago | |