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/docs
Alex Willmer 6cec613daa mitogen: Only close stdio file descriptors that were open at process startup
File descriptors 0, 1, and 2 are usually stdin, stdout, stderr; but not
always. If a process is started without one of these then the first descriptor
allocated by the process opening a file or socket will be allocated an fd <=
STDERR_FILENO. This isn't common, but it does occur, e.g. Windows GUI apps
started without being connected to a console, controller side plugins run
under Ansible 12 (ansible-core 2.19).

In such cases the corresponding sys attribute (e.g. sys.stderr) will be None.

refs #1258

See also
- https://docs.python.org/3/library/sys.html#sys.__stdin__
- https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_12.html#porting-guide-for-v12-0-0a1
- https://github.com/ansible/ansible/pull/82770
- https://github.com/python/typeshed/issues/11778
- https://gist.github.com/moreati/034fef45f73d809d9411a8a63eca34d6
6 months ago
..
_static docs: remove a little more top margin wastage 7 years ago
_templates docs: Remove piwik analytics hooks from website 1 year ago
images issue #505: docs: add new detail graph for one scenario. 7 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 8 years ago
Makefile docs: get rid of autobuild remnant 7 years ago
ansible_detailed.rst Support Ansible 11 (ansible-core 2.18) 1 year ago
api.rst Add podman connection support 4 years ago
changelog.rst mitogen: Only close stdio file descriptors that were open at process startup 6 months ago
conf.py docs: Read release version from changelog 11 months ago
contributors.rst docs: Add changelog, credits for connection_loader__get fixes 11 months ago
domainrefs.py docs: add domainrefs plugin to make link aliases everywhere \o/ 6 years ago
examples.rst Replace os.system() with subprocess.check_call() 4 years ago
getting_started.rst Fix for sample in doc 6 years ago
howitworks.rst trivia: Fix trailing whitespace 1 year ago
index.rst docs: Update external URLs (e.g. dw/mitogen -> mitogen-hq/mitogen) 2 years ago
internals.rst Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415 6 years ago
netlify.toml docs: Fix "No module named 'imghdr'" when building website 11 months ago
pickle-substitutes.ods docs: First round of Pickle-likes survey 8 years ago
requirements.txt docs: Fix generation of static website 2 years ago
services.rst issue #589: ensure real FileService/PushFileService are in the docs 7 years ago
toc.rst docs: reorder chapters 6 years ago