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
Russell Yanofsky 0b28a7242a Get mitogen.fakessh module working again
Fixes include

- Setting cloexec flag on pipe files, using set_inheritable on sockets,
  and close_fds=False on subprocess.Popen to work around file
  descriptors not being inheritable by default in new versions of python

- Adding mitogen.exit_status variable and avoiding os.kill call so fake
  'ssh' script is able to exit cleanly with correct status code

- Fixing broken os.dup call in ExternalContext._setup_master when input
  and output streams have the same descriptor

- Updating fakessh module to do necessary python3 string/byte
  conversions, and use updated mitogen Protocol, Stream, and Router apis

- Simplifying fakessh startup sequence so there aren't unnecessary
  differences between ways control and data handles are passed, and ways
  master and slave processes are initialized

- Fixing shutdown race conditions where subprocess exit handling or
  stdin EOF handling could result in a truncated stdout stream

- Updating and adding a lot of docstrings and comments

- Adding Process.proc is None / is not None assertions to be clear about
  which parts of fakessh.Process code are specific to the slave process,
  and which parts are specific to the master process.

- Re-enabling unit test case and updating an outdated file path so it
  passes

Co-authored-by: Alex Willmer <alex@moreati.org.uk>
3 months ago
.ci mitogen: Fix non-blocking IO errors in first stage of bootstrap 4 months ago
.github Python 3.14 support 3 months ago
ansible_mitogen Add FreeIPA client modules to the always-fork list. 4 months ago
docs Prepare v0.3.29 3 months ago
examples Remove get_password_hash, unused 1 year ago
mitogen Get mitogen.fakessh module working again 3 months ago
scripts add Python3 compatibility 2 years ago
tests Get mitogen.fakessh module working again 3 months ago
.gitignore chore: Ignore locally installed collections, dummy modules, etc 7 months ago
.lgtm.yml Whoops, merge together lgtm.yml and .lgtm.yml 6 years 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 docs: shields.io badges for PyPI version & supported Python versions 1 year 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 Python 3.14 support 3 months ago
tox.ini Python 3.14 support 3 months ago

README.md