pkgsrc/devel/py-ruamel-yaml
adam ea0631b31a py-ruamel-yaml: updated to 0.15.72
0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser

0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser

0.15.71:
- fix regression where handcrafted CommentedMaps could not be initiated
- fix regression with non-root literal scalars that needed indent indicator
- tag:yaml.org,2002:python/object/apply now also uses __qualname__ on PY3

0.15.70:
- reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list,
  reimplemented merge maps so that both dict(**commented_map_instance) and JSON
  dumping works. This also allows checking with isinstance() on dict resp. list.

0.15.69:
- fix issue with dump_all gobbling end-of-document comments on parsing

0.15.68:
- fix issue with parsabel, but incorrect output with nested flow-style sequences
- fix issue with loading Python objects that have __setstate__ and recursion in parameters

0.15.67:
- fix issue with extra space inserted with non-root literal strings

0.15.66:
- fix issue with fold indicating characters inserted in safe_load-ed folded strings

0.15.65:
- fix issue 232 revert to throw ParserError for unexcpected ]
  and } instead of IndexError.
- added key and reverse parameter (suggested by Jannik Klemm via email)
- indent root level literal scalars that have directive or document end markers
  at the beginning of a line

0.15.64:
- support round-trip of tagged sequences: !Arg [a, {b: 1}]
- single entry mappings in flow sequences now written by default without quotes
  set yaml.brace_single_entry_mapping_in_flow_sequence=True to force
  getting [a, {b: 1}, {c: {d: 2}}] instead of the default [a, b: 1, c: {d: 2}]
- fix issue when roundtripping floats starting with a dot such as .5

0.15.63:
- small fix only necessary for Windows users that don't use wheels.

0.15.62:
- C based reader/scanner & emitter now allow setting of 1.2 as YAML version.
  ** The loading/dumping is still YAML 1.1 code**, so use the common subset of
  YAML 1.2 and 1.1

0.15.61:
- support for round-tripping folded style scalars
- update of C code
- speed up of scanning (~30% depending on the input)

0.15.60:
- cleanup for mypy
- spurious print in library

0.15.59:
- issue with C based loader and leading zeros

0.15.59:
- issue with C based loader and leading zeros

0.15.58:
- simple mappings can now be used as keys when round-tripping::

    {a: 1, b: 2}: hello world

  although using the obvious operations (del, popitem) on the key will
  fail, you can mutilate it by going through its attributes. If you load the
  above YAML in d, then changing the value is cumbersome:

      d = {CommentedKeyMap([('a', 1), ('b', 2)]): "goodbye"}

  and changing the key even more so:

      d[CommentedKeyMap([('b', 1), ('a', 2)])] = d.pop(
                   CommentedKeyMap([('a', 1), ('b', 2)]))

  (you can use a dict instead of a list of tuples (or ordereddict), but that might result
  in a different order, of the keys of the key, in the output)
- check integers to dump with 1.2 patterns instead of 1.1

0.15.57:
- Fix that CommentedSeq could no longer be used in adding or do a copy

0.15.56:
- fix issue with python -O optimizing away code

0.15.55:
- unmade CommentedSeq a subclass of list. It is now
  indirectly a subclass of the standard
  collections.abc.MutableSequence (without .abc if you are
  still on Python2.7). If you do isinstance(yaml.load('[1, 2]'),
  list)) anywhere in your code replace list with
  MutableSequence.  Directly, CommentedSeq is a subclass of
  the abstract baseclass ruamel.yaml.compat.MutableScliceableSequence,
  with the result that *(extended) slicing is supported on
  CommentedSeq*.
- duplicate keys (or their values) with non-ascii now correctly
  report in Python2, instead of raising a Unicode error.
2018-10-14 16:26:51 +00:00
..
DESCR
distinfo py-ruamel-yaml: updated to 0.15.72 2018-10-14 16:26:51 +00:00
Makefile py-ruamel-yaml: updated to 0.15.72 2018-10-14 16:26:51 +00:00
PLIST py-ruamel-yaml: updated to 0.15.72 2018-10-14 16:26:51 +00:00