Commit Graph

14 Commits

Author SHA1 Message Date
David Wilson 8b800e4798 add --dump to preamble_size.py. 2018-08-18 16:44:00 +01:00
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
2018-07-07 14:55:47 +01:00
David Wilson 3aadfbcfa1 Add select to preamble_size 2018-05-29 18:14:29 +01:00
David Wilson 9492dbc4d7 parent: split out minify.py and add stub where master can install it.
This needs a cleaner mechanism to install it, at least this one is
documented.
2018-05-29 13:00:29 +01:00
David Wilson 3a07ed3d65 Add mitogen.service to preamble_size.py 2018-04-24 22:41:47 +01:00
Alex Willmer dc3f5730a2 Merge branch 'master' into eye-of-the-token-its-the-thrill-of-the-light 2018-04-07 10:44:52 +01:00
David Wilson 586318c475 Fix preamble_size.py. 2018-04-01 23:49:43 +01:00
Alex Willmer f1e6fe007b preamble_size: Print compressed size and percentage 2018-03-30 11:07:51 +01:00
David Wilson 6a74edce6b issue #155: parent: move master.Context into parent.
The Context and Router APIs for constructing children and making
function calls should be available in every parent context, as user code
wants to have access to the same API.
2018-03-24 19:19:45 +05:45
David Wilson 2a786ce146 docs: fix preamble_size.py after whitelist changes 2018-03-19 21:58:29 +05:45
David Wilson b158259c86 Split up parent and master modules
Knocks 4kb off network footprint for a proxy connection.
2018-03-19 21:58:28 +05:45
David Wilson 3c288d12b0 Remove context.key from preamble_size.py too. 2018-03-19 21:35:36 +05:45
David Wilson b12433695c fakessh: add to preamble_size.py 2018-03-19 21:35:35 +05:45
David Wilson e7ff6259a3 Initial commit. 2018-03-19 21:35:13 +05:45