Commit Graph

7 Commits

Author SHA1 Message Date
David Wilson 8d7aefb1cf docs: fix example up so it's closer to real code 2018-12-14 03:36:46 +00:00
David Wilson 73c7b5daeb docs: modernize 2 examples 2018-12-08 05:12:55 +00: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 4d9d21c808 docs: fix typo 2018-03-19 21:58:28 +05:45
David Wilson b580ada89f Tidy up and correct the new example 2018-03-19 21:58:28 +05:45
David Wilson eb2aef866b Add shell replacement example. 2018-03-19 21:58:28 +05:45
David Wilson e7ff6259a3 Initial commit. 2018-03-19 21:35:13 +05:45