Commit Graph

72 Commits

Author SHA1 Message Date
David Wilson f1f36cec35 Simplify the API, make Broker optional and auto-shutdown on main thread exit. 2018-03-19 21:58:28 +05:45
Alex Willmer 3831ac360f Replace all calls to file() with open()
Although these are synonyms in Python 2.x, when using MyPy to typecheck
code use of file() causes spurious errors.

This commit also serves as one small step to Python 3.x compatibility,
since 3.x removes the file() builtin.
2018-03-19 21:58:27 +05:45
David Wilson 038ab04908 docs: convert paragraph to footnote. 2018-03-19 21:58:27 +05:45
David Wilson e3d2c8d649 issue #49: update howitworks.rst for command line change 2018-03-19 21:58:27 +05:45
David Wilson 58102c8179 docs: waiting on multiple calls 2018-03-19 21:58:27 +05:45
David Wilson b1ad04330b docs: move Router.route() into Sphinx. 2018-03-19 21:58:27 +05:45
David Wilson cf0668b2b1 docs: Add warning to preloading section. 2018-03-19 21:58:27 +05:45
David Wilson fb759f7c16 docs: move Broker docstrings into Sphinx. 2018-03-19 21:58:27 +05:45
David Wilson ac7cada323 docs: more getting started guide 2018-03-19 21:58:27 +05:45
David Wilson ffa063cc01 docs: annother barriage of cross-reference fixes. 2018-03-19 21:58:25 +05:45
David Wilson 9372d2c3de docs: Fix up tons of references, document trust chain 2018-03-19 21:35:38 +05:45
David Wilson 051285437f importer: module preloading docs 2018-03-19 21:35:38 +05:45
David Wilson b3bd075d37 docs: getting started 2018-03-19 21:35:38 +05:45
David Wilson 792e789908 More. 2018-03-19 21:35:37 +05:45
David Wilson c15d227da4 docs: way more appropriate image 2018-03-19 21:35:37 +05:45
David Wilson b94e7b3678 docs: more getting started 2018-03-19 21:35:37 +05:45
David Wilson 709b38c36e docs: Getting started tidyups 2018-03-19 21:35:37 +05:45
David Wilson dcc45bc7de docs: Get started on Getting Started 2018-03-19 21:35:37 +05:45
David Wilson 0299f86bc9 docs: fix reference to with: 2018-03-19 21:35:37 +05:45
David Wilson c9daa2ff30 docs: move fakessh docs into Sphinx. 2018-03-19 21:35:37 +05:45
David Wilson 6a10ab605e docs: move mitogen.utils docs to Sphinx. 2018-03-19 21:35:37 +05:45
David Wilson 270b242ec5 docs: fix decorator types. 2018-03-19 21:35:37 +05:45
David Wilson ec66152e37 docs: better io_op doc, move Side docs to Sphinx. 2018-03-19 21:35:37 +05:45
David Wilson 0767abf26f docs: move BasicStream docs into Sphinx. 2018-03-19 21:35:37 +05:45
David Wilson b7a9aa46cf core: More robust shutdown
Now there is a separate SHUTDOWN message that relies only on being
received by the broker thread, the main thread can be hung horribly and
the process will still eventually receive a SIGTERM.
2018-03-19 21:35:37 +05:45
David Wilson 79dd00db5a master: hack to avoid executing __main__. 2018-03-19 21:35:37 +05:45
David Wilson 416ab90e02 docs: Fix index generation everywhere. 2018-03-19 21:35:37 +05:45
David Wilson 976c643f21 docs: remove note, unpickling can no longer trigger module loads 2018-03-19 21:35:37 +05:45
David Wilson decc9a900c docs: s/random/pseudorandom/ 2018-03-19 21:35:37 +05:45
David Wilson 83f8f1863e docs: fix pickler docs, begin relabelling master/slave->parent/child 2018-03-19 21:35:37 +05:45
David Wilson 4327baabfa docs: remove final references to call_with_deadline(). 2018-03-19 21:35:37 +05:45
David Wilson dd69b8feeb docs: with_context element is replaced by a decorator. 2018-03-19 21:35:37 +05:45
David Wilson 12fe884f1a Reference Select 2018-03-19 21:35:37 +05:45
David Wilson a81f804e92 Accidentally hecked in incomplete paragraph. 2018-03-19 21:35:37 +05:45
David Wilson 83e3e1b82a Typo. 2018-03-19 21:35:37 +05:45
David Wilson e9af841e60 docs: fix :return: syntax. 2018-03-19 21:35:36 +05:45
David Wilson f1d82c7284 More API documentation. 2018-03-19 21:35:36 +05:45
David Wilson 9d2a11e70f Fix function reference. 2018-03-19 21:35:36 +05:45
David Wilson 5772e06368 Typo. 2018-03-19 21:35:36 +05:45
David Wilson b7f95e558f Better document Router API and constructors. 2018-03-19 21:35:36 +05:45
David Wilson 3eb60d777a Add mitogen.parent_ids to docs. 2018-03-19 21:35:36 +05:45
David Wilson 0c573d0e47 Tidy up select examples even more. 2018-03-19 21:35:36 +05:45
David Wilson e624295d63 Document channel class 2018-03-19 21:35:36 +05:45
David Wilson c4d9f124c6 Document Sender and Receiver classes. 2018-03-19 21:35:36 +05:45
David Wilson 33643222de docs: Add spacing between list items in body text. 2018-03-19 21:35:36 +05:45
David Wilson 265d9f0293 Tidy up select docs. 2018-03-19 21:35:36 +05:45
David Wilson 112f76fe89 More concise text. 2018-03-19 21:35:36 +05:45
David Wilson 19869da087 issue #20: Return type fix. 2018-03-19 21:35:36 +05:45
David Wilson 0565784164 Package rename cleanup. 2018-03-19 21:35:36 +05:45
David Wilson f869e088f8 issue #20: tests and fixes for mitogen.master.Select(). 2018-03-19 21:35:36 +05:45