David Wilson
d6dcb8d010
issue #477 : blacklist 'thread' module to avoid roundtrip on 2.x->3.x
6 years ago
David Wilson
c9ff4c6506
issue #477 : fix 3.x failure in new target.set_file_mode() function.
6 years ago
David Wilson
aa5d37af89
issue #477 : fix 3.x failure in new target.set_file_mode() function.
6 years ago
David Wilson
51294db52d
issue #477 : fix 2 runner tests on Ansible 2.7.
6 years ago
David Wilson
84a0424749
issue #477 : fix 3.x test regressions.
6 years ago
David Wilson
01db198122
issue #477 : fix new KwargsTest on Python 3.x.
6 years ago
David Wilson
d4897d37bb
issue #477 : ModuleFinder now returns Unicode module names.
6 years ago
David Wilson
4c1ddf6fc1
issue #477 : Python3 does not have Pickler.dispatch.
6 years ago
David Wilson
7ecd5d8ba3
issue #477 : ModuleFinder test fixes.
6 years ago
David Wilson
fa53e1cf6a
Merge remote-tracking branch 'origin/zombies'
...
* origin/zombies:
parent: don't send messages on streams that no longer exist; closes #480
6 years ago
David Wilson
5bd6bd06d1
parent: don't send messages on streams that no longer exist; closes #480
6 years ago
David Wilson
c443244986
issue #477 : Ansible 2.3 compatible regression/all.yml.
6 years ago
David Wilson
532ae92029
issue #477 : Ansible 2.3 requires placeholder module for assert_equals
6 years ago
David Wilson
572db1a385
issue #477 : build a CentOS 5/Py2.4 container + playbook compat fixes.
6 years ago
David Wilson
a31718a6bc
issue #477 : use PY24 constant rather than explicit test.
6 years ago
David Wilson
bc434a4f99
issue #477 : backport mitogen.master to Python 2.4.
6 years ago
David Wilson
ffd46e9f1c
issue #477 : parent: make iter_read() log disconnect reason.
6 years ago
David Wilson
81f15028a7
issue #477 : backport ansible_mitogen.runner to 2.4.
6 years ago
David Wilson
0b0ae5c971
issue #477 : backport various test modules to Python 2.4.
6 years ago
David Wilson
256628c149
issue #477 : backport ansible_mitogen/target.py to Python2.4
6 years ago
David Wilson
462a8567e5
issue #477 : add all() polyfill to custom_python_detect_environmnet
6 years ago
David Wilson
87d2af4c6e
issue #477 : polyfill partition() use in mitogen.parent.
6 years ago
David Wilson
dd86a157ff
issue #477 : polyfill partition() use in mitogen.service.
6 years ago
David Wilson
d6da84c38f
issue #477 : polyfill partition() use in mitogen.ssh.
6 years ago
David Wilson
a48ee3a536
issue #477 : vendorize the last 2.4-compatible simplejson
...
This is in part so image_prep can run against an ancient CentOS 5 image
without any upfront help, and in part simply because it's very easy to
support.
6 years ago
David Wilson
e9706a4a09
issue #477 : _update_linecache() must append newlines.
6 years ago
David Wilson
19b708e141
issue #415 , #477 : Poller must handle POLLHUP too.
...
Linux will fire poll() with simply the POLLHUP bit set even though it
was not requested, resulting in an infinite loop.
6 years ago
David Wilson
07f1b9bdd0
issue #477 : Python 2.5 needs next() polyfill too.
6 years ago
David Wilson
3afd667136
issue #477 : explicitly populate Py2.4 linecache from Importer.
6 years ago
David Wilson
97a96f5dd8
issue #477 : rename and add tests for polyfill functions.
6 years ago
David Wilson
da13415b00
issue #477 : various core.py docstring cleanups.
6 years ago
David Wilson
dc01f9e47e
issue #477 : Ansible 2.3 module output format difference.
...
Don't test for keys it doesn't set.
6 years ago
David Wilson
b6062afe24
issue #477 : Ansible 2.3 cannot use when: on an include.
...
So just use our magic action module to reset the connection instead.
6 years ago
David Wilson
c1a4597e32
issue #477 : tests: use Ansible 2.3-compatible include rather than import
...
This will break with Ansible 2.8. Probably going to end up with a regex
hack for CI.
6 years ago
David Wilson
59dd0dc814
issue #477 : serve up junk ansible/__init__.py just like Ansible.
6 years ago
David Wilson
83aff538b3
issue #477 : testlib: Py2.4 did not have BaseException.
6 years ago
David Wilson
5135ff9068
issue #477 : master: ability to override ModuleResponder output.
...
This is needed to cope Ansible 2.3 doing weird stuff as usual. It serves
up __init__.py for ansible and ansible.module_utils as hard-coded
namespace packages, the real ansible/__init__.py on disk is not 2.4
compatible.
6 years ago
David Wilson
dd36450daf
issue #477 : yet another bug in core._partition().
6 years ago
David Wilson
d8490bc90a
issue #477 : 2.4.x compat fixes for mitogen.service.
6 years ago
David Wilson
58d8813c03
issue #477 : Py2.4 lacks all().
6 years ago
David Wilson
be8562ce09
issue #477 : Ansible 2.3 had stricter arg spec format.
6 years ago
David Wilson
1f17422598
issue #477 : make CallError serializable on 2.4.
...
Making CallError inherit from object broke 'raise CallError()'.
Instead use pure-Python pickler on 2.4 (grmbl) and force it to emit
new-style-alike output for what is otherwise a classic class.
Remove needless complexity from _unpickle_call_error() that only worked
for new-style classes.
6 years ago
David Wilson
4b89dc4813
issue #477 : log full module name when SyntaxError occurs.
6 years ago
David Wilson
d4afa102c7
issue #477 : more Py2.4 (str|unicode).partition().
6 years ago
David Wilson
0ee8ee78b8
issue #477 : Py2.4 cannot tolerate unicode kwargs.
6 years ago
David Wilson
08cecb92f6
issue #477 : Py2.4 lacks BaseException.
6 years ago
David Wilson
4388e794ce
issue #477 : Py2.4: enumerate() may return stopped threads.
6 years ago
David Wilson
51a07dce70
issue #477 : Py2.4: more unicode.rpartition() usage.
6 years ago
David Wilson
07401d767a
issue #477 : Python 2.4 type(exc) returns old-style instance.
6 years ago
David Wilson
2ead451277
issue #477 : Python 2.4 lacked str.partition.
6 years ago