Commit Graph

2894 Commits (8a11dea07584c07bc59ae9474869f85597192c63)
 

Author SHA1 Message Date
David Wilson 118fe01be5 Use enhanced assertRaises in call_function_test.py. 6 years ago
David Wilson 9b13a4cc61 Fix 2 call_function_test failures. 6 years ago
David Wilson 79dd00db5a master: hack to avoid executing __main__. 6 years ago
David Wilson 236d83418c Simple scan_code_imports test. 6 years ago
David Wilson 6f5d4882da We don't support sets, so don't use them in module loader(!) 6 years ago
David Wilson ecd39e4f2a add missing IOLOG, fixes _iter_read/SshTest. 6 years ago
David Wilson 416ab90e02 docs: Fix index generation everywhere. 6 years ago
David Wilson 451fb347d0 master: include related modules in ModuleResponder response 6 years ago
David Wilson 4af920094a iter_read: also treat 0-byte read as disconnection 6 years ago
David Wilson d169b55d64 select: fix typo 6 years ago
David Wilson af6812b458 Fix context naming for sudo and via=. 6 years ago
David Wilson 976c643f21 docs: remove note, unpickling can no longer trigger module loads 6 years ago
David Wilson decc9a900c docs: s/random/pseudorandom/ 6 years ago
David Wilson 83f8f1863e docs: fix pickler docs, begin relabelling master/slave->parent/child 6 years ago
David Wilson 4327baabfa docs: remove final references to call_with_deadline(). 6 years ago
David Wilson dd69b8feeb docs: with_context element is replaced by a decorator. 6 years ago
David Wilson 12fe884f1a Reference Select 6 years ago
David Wilson a81f804e92 Accidentally hecked in incomplete paragraph. 6 years ago
David Wilson 83e3e1b82a Typo. 6 years ago
David Wilson e9af841e60 docs: fix :return: syntax. 6 years ago
David Wilson f1d82c7284 More API documentation. 6 years ago
David Wilson 9d2a11e70f Fix function reference. 6 years ago
David Wilson 5772e06368 Typo. 6 years ago
David Wilson b7f95e558f Better document Router API and constructors. 6 years ago
David Wilson 815f23bddd Sense of block= parameter was inverted. 6 years ago
David Wilson 3eb60d777a Add mitogen.parent_ids to docs. 6 years ago
David Wilson 1449c972eb Allow running responder_test with unittest. 6 years ago
David Wilson 0c573d0e47 Tidy up select examples even more. 6 years ago
David Wilson e624295d63 Document channel class 6 years ago
David Wilson c4d9f124c6 Document Sender and Receiver classes. 6 years ago
David Wilson 33643222de docs: Add spacing between list items in body text. 6 years ago
David Wilson 849ccebe04 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.
6 years ago
David Wilson 265d9f0293 Tidy up select docs. 6 years ago
David Wilson 3c288d12b0 Remove context.key from preamble_size.py too. 6 years ago
David Wilson 1be10575a1 importer: Don't respond to non-.py[co] imports. 6 years ago
David Wilson bcae62c682 issue #20: TestCase subclass with a nicer assertRaises 6 years ago
David Wilson 112f76fe89 More concise text. 6 years ago
David Wilson 48bf987570 issue #20: fix queue.get() parameter list. 6 years ago
David Wilson 19869da087 issue #20: Return type fix. 6 years ago
David Wilson 0565784164 Package rename cleanup. 6 years ago
David Wilson f869e088f8 issue #20: tests and fixes for mitogen.master.Select(). 6 years ago
David Wilson e3d967ebeb issue #20: initial implementation of mitogen.master.Select(). 6 years ago
David Wilson 14783c75e8 issue #9: log warning when a cross-sibling CALL_FUNCTION occurs
First step to making it a fatal error.
6 years ago
David Wilson 9de1fca3bf 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.
6 years ago
David Wilson 4de321a3b0 Adjust get_boot_command to match _first_stage change
inspect module includes the staticmethod decorator added by
a8d1dc6730
6 years ago
David Wilson abfa85d7da Remove set from permitted types. 6 years ago
David Wilson ced6d8e404 Fix up importer_test. 6 years ago
David Wilson c810f66bcc issue #19: whoops, implement sliding window properly 6 years ago
David Wilson 43ccbf0459 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.
6 years ago
David Wilson 40e2e6eb4c Add README.md to tests subdir. 6 years ago