summaryrefslogtreecommitdiff
path: root/constructor.py
Commit message (Collapse)AuthorAgeFilesLines
* fix for 3940.17.12Anthon van der Neut2021-08-211-1/+4
| | | | | when the newly created object has the signature __attrs_attrs__ attribute initialisation is not done using update by by calling __init__()
* fix for issue 393Anthon van der Neut2021-08-211-0/+11
|
* fix issues 389 and 3920.17.11Anthon van der Neut2021-08-191-1/+1
|
* fix for issue 3870.17.8Anthon van der Neut2021-06-091-5/+14
| | | | | tagged objects that have a templated (idNNN) anchor, did get the anchor added explicitly, resulting potentially in double anchors
* fix 385 (missing attribute) and mypy issues0.17.6Anthon van der Neut2021-05-311-10/+8
|
* fix for issue 3840.17.5Anthon van der Neut2021-05-301-2/+3
| | | | aliased scalars in !!set would not round trip with ?
* * extend EOL token handlingAnthon van der Neut2021-05-061-44/+143
| | | | * extending comment
* removed (object), prepare new RTScannerAnthon van der Neut2021-04-191-1/+1
|
* remove support for 2.7, prepare for f-strings0.17.0Anthon van der Neut2021-03-261-7/+3
|
* remove superfluous comment assignmentAnthon van der Neut2021-03-201-3/+5
|
* remove python 2 specific codeAnthon van der Neut2021-03-091-261/+241
| | | | add future deprecation warning to old style functions
* last release supporting 2.70.16.13Anthon van der Neut2021-03-051-0/+1
|
* fix issue with mypy, dumping lit scalar in sequence0.16.7Anthon van der Neut2020-01-301-2/+2
|
* correct empty string mapping key rt0.16.6Anthon van der Neut2020-01-201-1/+1
|
* mypy, split contruct_object0.16.3Anthon van der Neut2019-08-151-11/+21
| | | | | | | | fixes issue #306 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* Add y/Y/n/N to boolean values under 1.10.15.93Anthon van der Neut2019-04-211-0/+2
| | | | | | | fixes issues #285 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* optionally allow duplicate merge keys0.15.91Anthon van der Neut2019-04-051-0/+8
| | | | | https://stackoverflow.com/questions/55540686/configuring-ruamel-yaml-to-allow-duplicate-keys reported by mamacdon
* insert merge key in old (absolute) position0.15.86Anthon van der Neut2019-01-161-0/+8
|
* resolves issue #274 replace dict with collections.OrderedDict when loading0.15.85Anthon van der Neut2019-01-081-4/+6
| | | | | | | https://bitbucket.org/ruamel/yaml/issues/274/add-a-typ-ordered-for-a-middle-ground#comment-49783394 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* preserve anchors on scalars, on tagged objects0.15.82Anthon van der Neut2018-12-281-6/+16
| | | | | | | | fixes issue #63 fixes issue #266 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* work around issue 6112 in mypyAnthon van der Neut2018-12-281-10/+10
|
* roundtrip anchors/aliases on str, int, floatAnthon van der Neut2018-12-271-10/+33
|
* fix value taken with duplicate keysAnthon van der Neut2018-12-051-26/+31
|
* resolves issue with anchors specified deeper in the data structure than aliases0.15.79Anthon van der Neut2018-11-211-1/+1
|
* fix issue #255 and #256 empty collection defaulting to flow-style0.15.76Anthon van der Neut2018-11-011-8/+11
| | | | | | | | an empty collection now defaults to best style. I.e. if elements are inserted their style is not forced to flow-style *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fixes issue #254 single question mark not dumped with quotes0.15.75Anthon van der Neut2018-10-271-2/+2
| | | | | | | | | introduced re issue #62 for version 0.15.27 test in ruamel.yaml.data/special/single_indicator.yaml *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue 251 error on multiple merge keysAnthon van der Neut2018-10-171-0/+38
|
* added nprintf to importAnthon van der Neut2018-10-171-2/+2
|
* fix issue #238 construct recursive objects0.15.71Anthon van der Neut2018-09-261-5/+7
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue #238 incompatibility between __setstate__ and recursive parameters0.15.68Anthon van der Neut2018-09-201-2/+2
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* default to non-braced single item mappings in flow sequences0.15.64Anthon van der Neut2018-08-301-7/+7
|
* allow round trip of tagged sequencesAnthon van der Neut2018-08-301-0/+11
|
* mypy updateAnthon van der Neut2018-08-251-10/+10
|
* fix #158 folded scalars not roundtripping0.15.61Anthon van der Neut2018-08-231-5/+20
|
* updates for mypy and remove print statementsAnthon van der Neut2018-08-181-13/+12
|
* fix issue 223 Cloader not initialising Resolver version0.15.59Anthon van der Neut2018-08-171-2/+3
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* allow simple mappings as mapping keysAnthon van der Neut2018-08-161-3/+9
|
* fix issue #165 Python2 raising error when Unicode text involved in duplicate ↵0.15.55Anthon van der Neut2018-08-141-1/+12
| | | | | | | | | key warning. I could only reproduce this in Python2, finally fixed it. *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* reimplement CommentedSeq to subclass MutableSequence instead of listAnthon van der Neut2018-08-141-2/+3
| | | | re issue #176
* require maptyp parameter, to prevent delayed errorAnthon van der Neut2018-08-141-1/+1
|
* get rid of mypy error not MRO-ing subclass MutableSet + MutableMapAnthon van der Neut2018-08-121-1/+24
|
* regressionAnthon van der Neut2018-08-081-2/+3
|
* push new version fixing two issues0.15.51Anthon van der Neut2018-08-081-3/+2
|
* fix issue #124: incorrect tags for class methodsAnthon van der Neut2018-08-081-10/+26
|
* added context manager, mypy cleanup (w. Optional) added tests0.15.50Anthon van der Neut2018-08-051-2/+2
|
* mypy lagging again...Anthon van der Neut2018-08-051-1/+1
|
* leading empty lines and comments on root level literal scalars not preserved0.15.49Anthon van der Neut2018-08-051-1/+4
| | | | | | | | added test, fixed both now you can have --- !some_tag | # with a comment this is a multi- line literal scalar
* Apply oitnb and mypy 0.620, then make everything work again0.15.48Anthon van der Neut2018-08-031-296/+346
|
* flake8-bugbearAnthon van der Neut2018-08-011-2/+2
|
* Resolving issue #210 deprecation warning in python 3.7Anthon van der Neut2018-07-281-8/+7
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*