Alex Willmer
Alex Willmer
Move `mitogen.main()` decoreator? So the imports inside it don't cause upgraded `mitogen.master.scan_code_imports()` and `mitogen.master.ModuleFinder.find_related()` to pull in `mitogen.master` for any module in `mitogen`. refs #1287 #682 #733
Idea: A CLI interface e.g. `python -m mitogen -t ssh [email protected] -c "import sys; print(sys.version_info)"`
Consider https://github.com/mitogen-hq/mitogen/issues/1218 (Ansible min/max version check)
Rename Mitogen signals to notifications. Avoids name clashes with POSIX signals.
logging config inspiration https://pkg.go.dev/github.com/daotl/go-log/v2#readme-environment-variables
Remove legacy macOS/OSX workarounds in first stage?
## auto fallback Mitogen defaults to 'auto' discovery mode under some circumstances. This may override Ansible's default, which I don't think is desirable. https://github.com/mitogen-hq/mitogen/blob/fca7578cdf18d6c33e3388058d1581cbba287b92/ansible_mitogen/transport_config.py#L142-L144 Changing this (e.g. to raise an...
> Devise a shell construction that calls one of the Python interpreters ```shell #!/bin/sh p=$(for p in python4 python3 python2; do command -v "${p}" 2>/dev/null && break; done;) if [...
Should Mitogen know/track/guess - newest Python released? - range of Python versions supported by running Ansible release? On controller? On targets? - officially support vs it will run in practice
https://github.com/ansible-community/ansible-build-data covers Ansible >= 2.10, but doesn't appear to have structured Python version information or existence/defaults of config such as [INTERPRETER_PYTHON_FALLBACK](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#interpreter-python-fallback). Using https://gist.github.com/moreati/7e03a125b299fc019f28024a526931c2 ```console ➜ issue1225 git:(master) ✗ tox |...