Commit Graph

404 Commits (2ed39c411fc3bf93b545ef6501260d7c88c19ae8)
 

Author SHA1 Message Date
David Wilson 2ed39c411f Allow call_function_test to succeed depite testlib import. 7 years ago
David Wilson 2659cf0ae0 Use enhanced assertRaises in call_function_test.py. 7 years ago
David Wilson b0e13fefdd Fix 2 call_function_test failures. 7 years ago
David Wilson 0e51aa5cd9 master: hack to avoid executing __main__. 7 years ago
David Wilson 909937cc21 Simple scan_code_imports test. 7 years ago
David Wilson 5a71c38fdc We don't support sets, so don't use them in module loader(!) 7 years ago
David Wilson c9e3fbb483 add missing IOLOG, fixes _iter_read/SshTest. 7 years ago
David Wilson 88c82aff6a docs: Fix index generation everywhere. 7 years ago
David Wilson 5584dba441 master: include related modules in ModuleResponder response 7 years ago
David Wilson a18ca0f208 iter_read: also treat 0-byte read as disconnection 7 years ago
David Wilson 46c361d4e1 select: fix typo 7 years ago
David Wilson f57a12b3f9 Fix context naming for sudo and via=. 7 years ago
David Wilson 8fec1f985e docs: remove note, unpickling can no longer trigger module loads 7 years ago
David Wilson 2d2d547a1c docs: s/random/pseudorandom/ 7 years ago
David Wilson a71c9fd128 docs: fix pickler docs, begin relabelling master/slave->parent/child 7 years ago
David Wilson abf1aa33dd docs: remove final references to call_with_deadline(). 7 years ago
David Wilson 09985204ad docs: with_context element is replaced by a decorator. 7 years ago
David Wilson e057d289e9 Reference Select 7 years ago
David Wilson 1b823dc0b0 Accidentally hecked in incomplete paragraph. 7 years ago
David Wilson ed329fe580 Typo. 7 years ago
David Wilson 8d8096b6d8 docs: fix :return: syntax. 7 years ago
David Wilson 3a883d79f6 More API documentation. 7 years ago
David Wilson 25963736c6 Fix function reference. 7 years ago
David Wilson 0da42a5e90 Typo. 7 years ago
David Wilson 62c9dc6f49 Better document Router API and constructors. 7 years ago
David Wilson 044bfe5f4d Sense of block= parameter was inverted. 7 years ago
David Wilson 126080019d Add mitogen.parent_ids to docs. 7 years ago
David Wilson 1a48e37981 Allow running responder_test with unittest. 7 years ago
David Wilson a5f809cbd9 Tidy up select examples even more. 7 years ago
David Wilson 05d601c315 Document channel class 7 years ago
David Wilson 89220a418a Document Sender and Receiver classes. 7 years ago
David Wilson bc482c6be8 docs: Add spacing between list items in body text. 7 years ago
David Wilson 839a1cbeb1 receiver: only permit one notify callback
There is no point spamming a list for every function call, there is no
use case where multiple notify callbacks would be useful.
7 years ago
David Wilson 39924c432f Tidy up select docs. 7 years ago
David Wilson e7bcbdd068 Remove context.key from preamble_size.py too. 7 years ago
David Wilson 9e2c74eebc importer: Don't respond to non-.py[co] imports. 7 years ago
David Wilson 031c0f3cf4 issue #20: TestCase subclass with a nicer assertRaises 7 years ago
David Wilson 9625e77f87 More concise text. 7 years ago
David Wilson af8890b31f issue #20: fix queue.get() parameter list. 7 years ago
David Wilson 6dc0e13f5f issue #20: Return type fix. 7 years ago
David Wilson 0ef26f250e Package rename cleanup. 7 years ago
David Wilson 186d823600 issue #20: tests and fixes for mitogen.master.Select(). 7 years ago
David Wilson 6869292738 issue #20: initial implementation of mitogen.master.Select(). 7 years ago
David Wilson 1bb4a32271 issue #9: log warning when a cross-sibling CALL_FUNCTION occurs
First step to making it a fatal error.
7 years ago
David Wilson 05c22909b0 issue #9: ensure messages arrive on the expected stream
If no ADD_ROUTE message has been received from the master associating a
stream with a particular context ID, then it is expected messages
originating from that context ID can only be routed via the parent.
7 years ago
David Wilson 88d01c571f Adjust get_boot_command to match _first_stage change
inspect module includes the staticmethod decorator added by
a8d1dc6730
7 years ago
David Wilson d1faf5ba1d Remove set from permitted types. 7 years ago
David Wilson 0db472c97b Fix up importer_test. 7 years ago
David Wilson 2092568e7c issue #19: whoops, implement sliding window properly 7 years ago
David Wilson 231a300649 issue #19: second attempt at import scanner
This version is based on the modulefinder standard library module,
pruned back just to handle modules we know have been loaded already, and
to scan module-level imports only, rather than imports occurring in
class and function scope (crappy heuristic, but assume they are lazy
imports).

The ast and compiler modules were far too slow, whereas this version can
bytecode compile and scan all the imports for django.db.models (58
modules) in around 200ms.. 3.4ms per dependency, it's probably not going
to get much faster than that.
7 years ago