Commit Graph

760 Commits (cab0b2cb9a9e7a8331cd1162cbeea8b198a8fa48)

Author SHA1 Message Date
David Wilson 2e4d7b15d7 parent: don't kill child when profiling=True 5 years ago
David Wilson 29cb6cb4f8 issue #477: Py2.4 startswith() did not support tuples. 5 years ago
David Wilson 61297c24e5 issue #477: call_function_test fixes for 2.4. 5 years ago
David Wilson dd30a907ce issue #477: promote setup_gil() to mitogen.utils
This is since ansible_mitogen/process.py is 2.6-only, and I want to use
setup_gil() in 2.4 code.
5 years ago
David Wilson f1a712fad3 issue #477: Python<2.5 ioctl() request parameter was signed. 5 years ago
David Wilson 4ca3051e39 issue #477: document master.Router.max_message_size. 5 years ago
David Wilson a8716972fb issue #477: 2.4 stat() returned int timestamps not float. 5 years ago
David Wilson 19eafc5755 issue #477: set().union(a, b, ..) unsupported on Py2.4. 5 years ago
David Wilson e460d648d5 issue #477: Logger.log(extra=) unsupported on Py2.4. 5 years ago
David Wilson 1f59bcc313 issue #477: fix another Threading.getName() call. 5 years ago
David Wilson bd81b6fd6e issue #477: %f date format requires Py2.6 or newer. 5 years ago
David Wilson 6a2f88d6a3 issue #477: make mitogen.fork unsupported on Py<2.6. 5 years ago
David Wilson 112caa94f9 issue #477: Py2.4 dep scanner bytecode difference 5 years ago
David Wilson d6dcb8d010 issue #477: blacklist 'thread' module to avoid roundtrip on 2.x->3.x 5 years ago
David Wilson 4c1ddf6fc1 issue #477: Python3 does not have Pickler.dispatch. 5 years ago
David Wilson 7ecd5d8ba3 issue #477: ModuleFinder test fixes. 5 years ago
David Wilson a31718a6bc issue #477: use PY24 constant rather than explicit test. 5 years ago
David Wilson bc434a4f99 issue #477: backport mitogen.master to Python 2.4. 5 years ago
David Wilson ffd46e9f1c issue #477: parent: make iter_read() log disconnect reason. 5 years ago
David Wilson 87d2af4c6e issue #477: polyfill partition() use in mitogen.parent. 5 years ago
David Wilson dd86a157ff issue #477: polyfill partition() use in mitogen.service. 5 years ago
David Wilson d6da84c38f issue #477: polyfill partition() use in mitogen.ssh. 5 years ago
David Wilson e9706a4a09 issue #477: _update_linecache() must append newlines. 5 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.
5 years ago
David Wilson 07f1b9bdd0 issue #477: Python 2.5 needs next() polyfill too. 5 years ago
David Wilson 3afd667136 issue #477: explicitly populate Py2.4 linecache from Importer. 5 years ago
David Wilson 97a96f5dd8 issue #477: rename and add tests for polyfill functions. 5 years ago
David Wilson da13415b00 issue #477: various core.py docstring cleanups. 5 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.
5 years ago
David Wilson dd36450daf issue #477: yet another bug in core._partition(). 5 years ago
David Wilson d8490bc90a issue #477: 2.4.x compat fixes for mitogen.service. 5 years ago
David Wilson 58d8813c03 issue #477: Py2.4 lacks all(). 5 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.
5 years ago
David Wilson 4b89dc4813 issue #477: log full module name when SyntaxError occurs. 5 years ago
David Wilson d4afa102c7 issue #477: more Py2.4 (str|unicode).partition(). 5 years ago
David Wilson 0ee8ee78b8 issue #477: Py2.4 cannot tolerate unicode kwargs. 5 years ago
David Wilson 08cecb92f6 issue #477: Py2.4 lacks BaseException. 5 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 3767d56187 issue #477: Python <2.5 did not have combined try/finally/except. 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 e99b8a8de7 core: replace ancient YOLO loop in fire(). 6 years ago
David Wilson 1119f24071 issue #414: reinitialize service pool lock on fork 6 years ago
David Wilson 120c667052 core: many docstring updates and an example substitute for Channel 6 years ago
David Wilson 84f75551a3 core: make Receiver a self-closing context manager. 6 years ago