Commit Graph

2147 Commits (6281f231cb7b162f25c33405c626db867756353a)
 

Author SHA1 Message Date
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
David Wilson 2ec19f2374 issue #477: Python 2.4 lacked Thread.name. 6 years ago
David Wilson 2f016b5c7b issue #477: Python 2.4 lacked context managers. 6 years ago
David Wilson 3767d56187 issue #477: Python <2.5 did not have combined try/finally/except. 6 years ago
David Wilson 66b64cae2c issue #477: older Ansibles had no vars plugin base class. 6 years ago
David Wilson 33caea06ed issue #477: Python <2.5 lacked any(). 6 years ago
David Wilson 3109abd518 issue #477: Python <2.6 lacked rpartition(). 6 years ago
David Wilson 84601f41fd issue #477: make CallError inherit from object for 2.4/2.5.
Otherwise cPickle will not call __reduce__().
6 years ago
David Wilson f3dae10fe1 issue #477: 2.4/2.5 had no better poller than poll(). 6 years ago
David Wilson 881dc7d5ca issue #477: more 2.4-compatible thread.get_ident() use. 6 years ago
David Wilson a1e0b4381f issue #477: bump corrupt msg output size to 2Kb
Allows much more of any tracebacks present to become visible.
6 years ago
David Wilson 3e255129ab docs: add another strace recipe 6 years ago
David Wilson f52f7f6a62 ansible: merge away unused return values / functions. 6 years ago
David Wilson 7dd0c704e2 github: tweak issue template. 6 years ago
David Wilson a302b71f58 docs: include strace wrapper trick. 6 years ago
David Wilson b5c14cecda docs: docs and docstrings. 6 years ago
David Wilson 5c5269e147 docs: Changelog typo. 6 years ago
David Wilson d76312d03c docs: s/doffers/differs/ 6 years ago
David Wilson fb815ebec6 issue #434: add to Changelog. 6 years ago
David Wilson 0edeec118c issue #401: add to Changelog. 6 years ago
David Wilson 6856ee9021 issue #359: add to Changelog. 6 years ago
David Wilson 8f1cff7d08 issue #396: add to Changelog. 6 years ago
David Wilson efdfd4a353 docs: add thanks entry 6 years ago
David Wilson 97d2f2e1db issue #436: add to Changelog. 6 years ago
David Wilson c654379482 issue #465: add to Changelog. 6 years ago
David Wilson c4d0046164 issue #404: add to Changelog. 6 years ago