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/ansible_mitogen
Alex Willmer 667dd4237a ansible_mitogen: Replace use of `ansible.parsing.utils.jsonify.jsonify()`
The function is Ansible >= 12 (ansible-core >= 2.19). See #1274 for analysis
of `json.dumps()` vs `jsonify()` differences. This change is a middle ground
between full backward compatibility and using `json.dumps()` unadorned.

- if `data` is `None`, then it will still be transferred as `{}` on older
  versions of Ansible, but 'null' in newer releases. Cases where 'null'
  caused a problem are suspected/reported, but no reproducers are available.
- `ensure_ascii=True` will be still be tried, with fallback. I believe this
  is only relevant on Python 2.x.
- `sort_keys=True` will no longer be used.
- No indentation/pretty printing will be applied, this remains unchanged

fixes #1274
6 months ago
..
compat Remove vendored mitogen.compat.simplejson 3 years ago
plugins Fix usage of connection_loader__get by wrapping the correct upstream functions. 11 months ago
utils ansible_mitogen: alpha datatag handling & CI for Ansible 12 (ansible-core 2.19) 6 months ago
__init__.py ansible: restructure to avoid intermediate imports 8 years ago
affinity.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 year ago
connection.py ansible_mitogen: alpha datatag handling & CI for Ansible 12 (ansible-core 2.19) 6 months ago
loaders.py Allow running with ansible-core 2.19 6 months ago
logging.py ansible_mitogen: Remove fallback imports for Ansible < 2.10 1 year ago
mixins.py ansible_mitogen: Replace use of `ansible.parsing.utils.jsonify.jsonify()` 6 months ago
module_finder.py mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 2 years ago
parsing.py ansible_mitogen: Standardise __future__ imports to match Ansible 4 years ago
planner.py ansible_mitogen: alpha datatag handling & CI for Ansible 12 (ansible-core 2.19) 6 months ago
process.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 year ago
runner.py ansible_mitogen: alpha datatag handling & CI for Ansible 12 (ansible-core 2.19) 6 months ago
services.py ansible_mitogen: alpha datatag handling & CI for Ansible 12 (ansible-core 2.19) 6 months ago
strategy.py Disallow connection redirection of sub-connections if the top-level connection in the play is not a Mitogen connection. 11 months ago
target.py mitogen: Use pty.STD*_FILENO constants 6 months ago
transport_config.py ansible_mitogen: Rename Mitogen interpreter discovery attributes 10 months ago