Mirror of mitogen
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.
 
 
 
Go to file
Marc Hartmayer b68dfbe602 mitogen/parent: Bail out if STDIN or STDOUT is closed
Bail out if STDIN or STDOUT is closed or unavailable, as these streams are
required for the communication with the parent process. Without this check, the
later `os.pipe()` calls in the first_stage may return file descriptors 0 and 1,
leading to a confusing and hard-to-diagnose situation.

-SSH command size: 838
+SSH command size: 850

-mitogen.parent        99240  96.9KiB  51244 50.0KiB 51.6%  12956 12.7KiB 13.1%
+mitogen.parent        99496  97.2KiB  51275 50.1KiB 51.5%  12964 12.7KiB 13.0%

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
2 weeks ago
.ci CI: Add OS release coverage: Ubuntu 22.04, Ubuntu 24.04 1 month ago
.github CI: Bump deprecated macOS 13 runner to macOS 15 1 month ago
ansible_mitogen ansible_mitogen: Remove a use of ansible.module_utils.six 4 weeks ago
docs Prepare v0.3.36 2 weeks ago
examples Remove get_password_hash, unused 1 year ago
mitogen mitogen/parent: Bail out if STDIN or STDOUT is closed 2 weeks ago
scripts add Python3 compatibility 2 years ago
tests first_stage_test: Add tests for closed STDIN/STDOUT 2 weeks ago
.gitignore ci: Add playbook to configure container host for image prep 1 month ago
LICENSE Bump copyright year and use generic author name (testing Travis) 5 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md CI: Remove integration of retired lgtm.com 2 months ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
netlify.toml docs: Attempt to configure Netlify build of mitogen.networkgenomics.com 12 months ago
preamble_size.py preamble_size: Fix variability of command & preamble(?) size 4 months ago
run_tests tests: Remove unittest2, use stdlib unittest 4 years ago
setup.cfg Keep comatibility with `setuptools` tagging wheels with `py2.py3` 7 months ago
setup.py mitogen: Re-declare Python 2.4 compatibility 4 weeks ago
tox.ini docs: Document Ansible 13 (ansible-core 2.20) support 4 weeks ago

README.md