Python YAML parser

Edit Package python-ruamel.yaml

ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order

Refresh
Refresh
Source Files
Filename Size Changed
python-ruamel.yaml.changes 0000006663 6.51 KB
python-ruamel.yaml.spec 0000001977 1.93 KB
ruamel.yaml-0.15.61.tar.gz 0000293634 287 KB
Revision 7 (latest revision is 36)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 631988 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 7)
- update to 0.15.61
 * support for round-tripping folded style scalars
 * speed up of scanning (~30% depending on the input)
 * cleanup for mypy
 * issue with C based loader and leading zeros
 * simple mappings can now be used as keys when round-tripping
 * Fix that CommentedSeq could no longer be used in adding or do a sort
 * fix issue with python -O optimizing away code
 * unmade CommentedSeq a subclass of list.
 * fix issue where a comment could pop-up twice in the output
 * fix issue where JSON object (mapping) without spaces was not parsed properly 
 * ix issue where comments after empty flow-style mappings were not emitted
 * fix issue with flow style mapping with comments gobbled newline
 * fix issue where single ‘+’ under YAML 1.2 was interpreted as integer, erroring out
 * added .copy() mapping representation for round-tripping
 * Fix method name dumps (were not dotted) and loads
 * Allow YAML() as a context manager for output
 * Fix issue with incorrect type information for load() and dump()
 * fixed DeprecationWarning for importing from collections on 3.7
 * After adding failing test for YAML.load_all(Path()), remove StopIteration
Comments 0
openSUSE Build Service is sponsored by