Commit Graph

14 Commits

Author SHA1 Message Date
David Wilson b734a2a5f3 examples: fix mitop for Python 3. 2018-07-09 17:01:28 +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 61365236ad docs/select: fix up more references, fix headings. 2018-05-25 04:47:59 +01:00
David Wilson 76ac49dbdc examples: more comments. 2018-03-30 12:50:12 +05:45
David Wilson 9eccfb4972 examples: add top-level doc 2018-03-30 12:41:53 +05:45
David Wilson a68e833463 examples: add a ton of comments to mitop.py. 2018-03-30 12:35:41 +05:45
David Wilson e59cc89059 examples: fix mitop example. 2018-03-19 21:58:29 +05:45
David Wilson 3ddd9fc51c mitop: fix overlong command lines corrupting the followign line 2018-03-19 21:58:27 +05:45
David Wilson 00ae0f225c mitop: Show new processes in bold. 2018-03-19 21:58:27 +05:45
David Wilson 1faf0b8371 mitop: more dead code 2018-03-19 21:35:37 +05:45
David Wilson fbe9611942 More dead code, some comments. 2018-03-19 21:35:37 +05:45
David Wilson 70443b44a9 mitop: Remove dead code 2018-03-19 21:35:37 +05:45
David Wilson fba3eaa6d1 mitop: Remove dead code 2018-03-19 21:35:37 +05:45
David Wilson 271fed0fd6 Import mitop example script. 2018-03-19 21:35:37 +05:45