[Python-modules-commits] [ruamel.yaml] 02/09: Import ruamel.yaml_0.10.23.orig.tar.gz
Vincent Bernat
bernat at moszumanska.debian.org
Wed Feb 17 10:09:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to branch master
in repository ruamel.yaml.
commit 17155daee3ae933ffd61dcdd2805ca84186a66e0
Author: Vincent Bernat <bernat at debian.org>
Date: Wed Feb 17 09:35:42 2016 +0100
Import ruamel.yaml_0.10.23.orig.tar.gz
---
.appveyor.yaml | 29 ++
.hg_archival.txt | 4 +
.hgignore | 26 ++
.hgtags | 8 +
.ruamel/__init__.py | 2 -
Makefile | 37 ++
PKG-INFO | 301 ----------------
README.rst | 38 +-
__init__.py | 16 +-
_test/data/a-nasty-libyaml-bug.loader-error | 1 +
_test/data/aliases-cdumper-bug.code | 1 +
_test/data/aliases.events | 8 +
_test/data/bool.data | 18 +
_test/data/bool.detect | 1 +
_test/data/colon-in-flow-context.loader-error | 1 +
_test/data/comment_no_eol.data | 1 +
_test/data/composite_key.code | 1 +
_test/data/composite_key.data | 4 +
_test/data/construct-binary-py2.code | 7 +
_test/data/construct-binary-py2.data | 12 +
_test/data/construct-binary-py3.code | 7 +
_test/data/construct-binary-py3.data | 12 +
_test/data/construct-bool.code | 7 +
_test/data/construct-bool.data | 9 +
_test/data/construct-custom.code | 10 +
_test/data/construct-custom.data | 26 ++
_test/data/construct-float.code | 8 +
_test/data/construct-float.data | 6 +
_test/data/construct-int.code | 8 +
_test/data/construct-int.data | 6 +
_test/data/construct-map.code | 6 +
_test/data/construct-map.data | 6 +
_test/data/construct-merge.code | 10 +
_test/data/construct-merge.data | 27 ++
_test/data/construct-null.code | 13 +
_test/data/construct-null.data | 18 +
_test/data/construct-omap.code | 8 +
_test/data/construct-omap.data | 8 +
_test/data/construct-pairs.code | 9 +
_test/data/construct-pairs.data | 7 +
_test/data/construct-python-bool.code | 1 +
_test/data/construct-python-bool.data | 1 +
_test/data/construct-python-bytes-py3.code | 1 +
_test/data/construct-python-bytes-py3.data | 1 +
_test/data/construct-python-complex.code | 1 +
_test/data/construct-python-complex.data | 8 +
_test/data/construct-python-float.code | 1 +
_test/data/construct-python-float.data | 1 +
_test/data/construct-python-int.code | 1 +
_test/data/construct-python-int.data | 1 +
_test/data/construct-python-long-short-py2.code | 1 +
_test/data/construct-python-long-short-py2.data | 1 +
_test/data/construct-python-long-short-py3.code | 1 +
_test/data/construct-python-long-short-py3.data | 1 +
_test/data/construct-python-name-module.code | 1 +
_test/data/construct-python-name-module.data | 5 +
_test/data/construct-python-none.code | 1 +
_test/data/construct-python-none.data | 1 +
_test/data/construct-python-object.code | 23 ++
_test/data/construct-python-object.data | 21 ++
_test/data/construct-python-str-ascii.code | 1 +
_test/data/construct-python-str-ascii.data | 1 +
_test/data/construct-python-str-utf8-py2.code | 1 +
_test/data/construct-python-str-utf8-py2.data | 1 +
_test/data/construct-python-str-utf8-py3.code | 1 +
_test/data/construct-python-str-utf8-py3.data | 1 +
_test/data/construct-python-tuple-list-dict.code | 6 +
_test/data/construct-python-tuple-list-dict.data | 8 +
_test/data/construct-python-unicode-ascii-py2.code | 1 +
_test/data/construct-python-unicode-ascii-py2.data | 1 +
_test/data/construct-python-unicode-ascii-py3.code | 1 +
_test/data/construct-python-unicode-ascii-py3.data | 1 +
_test/data/construct-python-unicode-utf8-py2.code | 1 +
_test/data/construct-python-unicode-utf8-py2.data | 1 +
_test/data/construct-python-unicode-utf8-py3.code | 1 +
_test/data/construct-python-unicode-utf8-py3.data | 1 +
_test/data/construct-seq.code | 4 +
_test/data/construct-seq.data | 15 +
_test/data/construct-set.code | 4 +
_test/data/construct-set.data | 7 +
_test/data/construct-str-ascii.code | 1 +
_test/data/construct-str-ascii.data | 1 +
_test/data/construct-str-utf8-py2.code | 1 +
_test/data/construct-str-utf8-py2.data | 1 +
_test/data/construct-str-utf8-py3.code | 1 +
_test/data/construct-str-utf8-py3.data | 1 +
_test/data/construct-str.code | 1 +
_test/data/construct-str.data | 1 +
_test/data/construct-timestamp.code | 7 +
_test/data/construct-timestamp.data | 5 +
_test/data/construct-value.code | 9 +
_test/data/construct-value.data | 10 +
...ocument-separator-in-quoted-scalar.loader-error | 11 +
_test/data/documents.events | 11 +
_test/data/duplicate-anchor-1.loader-error | 3 +
_test/data/duplicate-anchor-2.loader-error | 1 +
_test/data/duplicate-key.former-loader-error.code | 1 +
_test/data/duplicate-key.former-loader-error.data | 3 +
.../duplicate-mapping-key.former-loader-error.code | 1 +
.../duplicate-mapping-key.former-loader-error.data | 6 +
.../duplicate-merge-key.former-loader-error.code | 1 +
.../duplicate-merge-key.former-loader-error.data | 4 +
_test/data/duplicate-tag-directive.loader-error | 3 +
.../duplicate-value-key.former-loader-error.code | 1 +
.../duplicate-value-key.former-loader-error.data | 4 +
_test/data/duplicate-yaml-directive.loader-error | 3 +
...lock-scalar-in-simple-key-context-bug.canonical | 6 +
...mit-block-scalar-in-simple-key-context-bug.data | 4 +
...ing-unacceptable-unicode-character-bug-py2.code | 1 +
...ing-unacceptable-unicode-character-bug-py2.data | 1 +
...unacceptable-unicode-character-bug-py2.skip-ext | 0
...ing-unacceptable-unicode-character-bug-py3.code | 1 +
...ing-unacceptable-unicode-character-bug-py3.data | 1 +
...unacceptable-unicode-character-bug-py3.skip-ext | 0
_test/data/empty-anchor.emitter-error | 5 +
_test/data/empty-document-bug.canonical | 1 +
_test/data/empty-document-bug.data | 0
_test/data/empty-document-bug.empty | 0
_test/data/empty-documents.single-loader-error | 2 +
_test/data/empty-python-module.loader-error | 1 +
_test/data/empty-python-name.loader-error | 1 +
_test/data/empty-tag-handle.emitter-error | 5 +
_test/data/empty-tag-prefix.emitter-error | 5 +
_test/data/empty-tag.emitter-error | 5 +
_test/data/expected-document-end.emitter-error | 6 +
_test/data/expected-document-start.emitter-error | 4 +
_test/data/expected-mapping.loader-error | 1 +
_test/data/expected-node-1.emitter-error | 4 +
_test/data/expected-node-2.emitter-error | 7 +
_test/data/expected-nothing.emitter-error | 4 +
_test/data/expected-scalar.loader-error | 1 +
_test/data/expected-sequence.loader-error | 1 +
_test/data/expected-stream-start.emitter-error | 2 +
_test/data/explicit-document.single-loader-error | 4 +
_test/data/fetch-complex-value-bug.loader-error | 2 +
_test/data/float-representer-2.3-bug.code | 7 +
_test/data/float-representer-2.3-bug.data | 5 +
_test/data/float.data | 6 +
_test/data/float.detect | 1 +
_test/data/forbidden-entry.loader-error | 2 +
_test/data/forbidden-key.loader-error | 2 +
_test/data/forbidden-value.loader-error | 1 +
_test/data/implicit-document.single-loader-error | 3 +
_test/data/int.data | 7 +
_test/data/int.detect | 1 +
_test/data/invalid-anchor-1.loader-error | 1 +
_test/data/invalid-anchor-2.loader-error | 8 +
_test/data/invalid-anchor.emitter-error | 5 +
_test/data/invalid-base64-data-2.loader-error | 2 +
_test/data/invalid-base64-data.loader-error | 2 +
.../invalid-block-scalar-indicator.loader-error | 2 +
_test/data/invalid-character.loader-error | Bin 0 -> 2209 bytes
_test/data/invalid-character.stream-error | Bin 0 -> 4193 bytes
_test/data/invalid-directive-line.loader-error | 2 +
_test/data/invalid-directive-name-1.loader-error | 2 +
_test/data/invalid-directive-name-2.loader-error | 2 +
_test/data/invalid-escape-character.loader-error | 1 +
_test/data/invalid-escape-numbers.loader-error | 1 +
.../invalid-indentation-indicator-1.loader-error | 2 +
.../invalid-indentation-indicator-2.loader-error | 2 +
...nvalid-item-without-trailing-break.loader-error | 2 +
_test/data/invalid-merge-1.loader-error | 2 +
_test/data/invalid-merge-2.loader-error | 2 +
_test/data/invalid-omap-1.loader-error | 3 +
_test/data/invalid-omap-2.loader-error | 3 +
_test/data/invalid-omap-3.loader-error | 4 +
_test/data/invalid-pairs-1.loader-error | 3 +
_test/data/invalid-pairs-2.loader-error | 3 +
_test/data/invalid-pairs-3.loader-error | 4 +
_test/data/invalid-python-bytes-2-py3.loader-error | 2 +
_test/data/invalid-python-bytes-py3.loader-error | 2 +
_test/data/invalid-python-module-kind.loader-error | 1 +
.../data/invalid-python-module-value.loader-error | 1 +
_test/data/invalid-python-module.loader-error | 1 +
_test/data/invalid-python-name-kind.loader-error | 1 +
.../data/invalid-python-name-module-2.loader-error | 1 +
_test/data/invalid-python-name-module.loader-error | 1 +
_test/data/invalid-python-name-object.loader-error | 1 +
_test/data/invalid-python-name-value.loader-error | 1 +
_test/data/invalid-simple-key.loader-error | 3 +
_test/data/invalid-single-quote-bug.code | 1 +
_test/data/invalid-single-quote-bug.data | 2 +
_test/data/invalid-starting-character.loader-error | 1 +
_test/data/invalid-tag-1.loader-error | 1 +
_test/data/invalid-tag-2.loader-error | 1 +
.../data/invalid-tag-directive-handle.loader-error | 2 +
.../data/invalid-tag-directive-prefix.loader-error | 2 +
_test/data/invalid-tag-handle-1.emitter-error | 5 +
_test/data/invalid-tag-handle-1.loader-error | 2 +
_test/data/invalid-tag-handle-2.emitter-error | 5 +
_test/data/invalid-tag-handle-2.loader-error | 2 +
_test/data/invalid-uri-escapes-1.loader-error | 1 +
_test/data/invalid-uri-escapes-2.loader-error | 1 +
_test/data/invalid-uri-escapes-3.loader-error | 1 +
_test/data/invalid-uri.loader-error | 1 +
_test/data/invalid-utf8-byte.loader-error | 66 ++++
_test/data/invalid-utf8-byte.stream-error | 66 ++++
.../invalid-yaml-directive-version-1.loader-error | 3 +
.../invalid-yaml-directive-version-2.loader-error | 2 +
.../invalid-yaml-directive-version-3.loader-error | 2 +
.../invalid-yaml-directive-version-4.loader-error | 2 +
.../invalid-yaml-directive-version-5.loader-error | 2 +
.../invalid-yaml-directive-version-6.loader-error | 2 +
_test/data/invalid-yaml-version.loader-error | 2 +
_test/data/latin.unicode | 384 +++++++++++++++++++++
_test/data/mappings.events | 44 +++
_test/data/merge.data | 1 +
_test/data/merge.detect | 1 +
_test/data/more-floats.code | 1 +
_test/data/more-floats.data | 1 +
_test/data/negative-float-bug.code | 1 +
_test/data/negative-float-bug.data | 1 +
_test/data/no-alias-anchor.emitter-error | 8 +
_test/data/no-alias-anchor.skip-ext | 0
_test/data/no-block-collection-end.loader-error | 3 +
_test/data/no-block-mapping-end-2.loader-error | 3 +
_test/data/no-block-mapping-end.loader-error | 1 +
_test/data/no-document-start.loader-error | 3 +
_test/data/no-flow-mapping-end.loader-error | 1 +
_test/data/no-flow-sequence-end.loader-error | 1 +
_test/data/no-node-1.loader-error | 1 +
_test/data/no-node-2.loader-error | 1 +
_test/data/no-tag.emitter-error | 5 +
_test/data/null.data | 3 +
_test/data/null.detect | 1 +
_test/data/odd-utf16.stream-error | Bin 0 -> 1311 bytes
_test/data/omap.data | 8 +
_test/data/omap.roundtrip | 0
_test/data/recursive-anchor.former-loader-error | 4 +
_test/data/recursive-dict.recursive | 3 +
_test/data/recursive-list.recursive | 2 +
_test/data/recursive-set.recursive | 7 +
_test/data/recursive-state.recursive | 2 +
_test/data/recursive-tuple.recursive | 3 +
_test/data/recursive.former-dumper-error | 3 +
.../remove-possible-simple-key-bug.loader-error | 3 +
_test/data/resolver.data | 30 ++
_test/data/resolver.path | 30 ++
_test/data/run-parser-crash-bug.data | 8 +
_test/data/scalars.events | 28 ++
_test/data/scan-document-end-bug.canonical | 3 +
_test/data/scan-document-end-bug.data | 3 +
_test/data/scan-line-break-bug.canonical | 3 +
_test/data/scan-line-break-bug.data | 3 +
_test/data/sequences.events | 81 +++++
.../data/serializer-is-already-opened.dumper-error | 3 +
_test/data/serializer-is-closed-1.dumper-error | 4 +
_test/data/serializer-is-closed-2.dumper-error | 4 +
_test/data/serializer-is-not-opened-1.dumper-error | 2 +
_test/data/serializer-is-not-opened-2.dumper-error | 2 +
_test/data/single-dot-is-not-float-bug.code | 1 +
_test/data/single-dot-is-not-float-bug.data | 1 +
_test/data/sloppy-indentation.canonical | 18 +
_test/data/sloppy-indentation.data | 17 +
_test/data/spec-02-01.code | 1 +
_test/data/spec-02-01.data | 3 +
_test/data/spec-02-01.structure | 1 +
_test/data/spec-02-01.tokens | 1 +
_test/data/spec-02-02.data | 3 +
_test/data/spec-02-02.structure | 1 +
_test/data/spec-02-02.tokens | 5 +
_test/data/spec-02-03.data | 8 +
_test/data/spec-02-03.structure | 1 +
_test/data/spec-02-03.tokens | 4 +
_test/data/spec-02-04.data | 8 +
_test/data/spec-02-04.structure | 4 +
_test/data/spec-02-04.tokens | 4 +
_test/data/spec-02-05.data | 3 +
_test/data/spec-02-05.structure | 5 +
_test/data/spec-02-05.tokens | 5 +
_test/data/spec-02-06.data | 5 +
_test/data/spec-02-06.structure | 4 +
_test/data/spec-02-06.tokens | 4 +
_test/data/spec-02-07.data | 10 +
_test/data/spec-02-07.structure | 4 +
_test/data/spec-02-07.tokens | 12 +
_test/data/spec-02-08.data | 10 +
_test/data/spec-02-08.structure | 4 +
_test/data/spec-02-08.tokens | 15 +
_test/data/spec-02-09.data | 8 +
_test/data/spec-02-09.structure | 1 +
_test/data/spec-02-09.tokens | 5 +
_test/data/spec-02-10.data | 8 +
_test/data/spec-02-10.structure | 1 +
_test/data/spec-02-10.tokens | 5 +
_test/data/spec-02-11.code | 10 +
_test/data/spec-02-11.data | 9 +
_test/data/spec-02-11.structure | 4 +
_test/data/spec-02-11.tokens | 6 +
_test/data/spec-02-12.data | 8 +
_test/data/spec-02-12.structure | 5 +
_test/data/spec-02-12.tokens | 6 +
_test/data/spec-02-13.data | 4 +
_test/data/spec-02-13.structure | 1 +
_test/data/spec-02-13.tokens | 1 +
_test/data/spec-02-14.data | 4 +
_test/data/spec-02-14.structure | 1 +
_test/data/spec-02-14.tokens | 1 +
_test/data/spec-02-15.data | 8 +
_test/data/spec-02-15.structure | 1 +
_test/data/spec-02-15.tokens | 1 +
_test/data/spec-02-16.data | 7 +
_test/data/spec-02-16.structure | 1 +
_test/data/spec-02-16.tokens | 5 +
_test/data/spec-02-17.data | 7 +
_test/data/spec-02-17.structure | 1 +
_test/data/spec-02-17.tokens | 8 +
_test/data/spec-02-18.data | 6 +
_test/data/spec-02-18.structure | 1 +
_test/data/spec-02-18.tokens | 4 +
_test/data/spec-02-19.data | 5 +
_test/data/spec-02-19.structure | 1 +
_test/data/spec-02-19.tokens | 7 +
_test/data/spec-02-20.data | 6 +
_test/data/spec-02-20.structure | 1 +
_test/data/spec-02-20.tokens | 8 +
_test/data/spec-02-21.data | 4 +
_test/data/spec-02-21.structure | 1 +
_test/data/spec-02-21.tokens | 6 +
_test/data/spec-02-22.data | 4 +
_test/data/spec-02-22.structure | 1 +
_test/data/spec-02-22.tokens | 6 +
_test/data/spec-02-23.data | 13 +
_test/data/spec-02-23.structure | 1 +
_test/data/spec-02-23.tokens | 6 +
_test/data/spec-02-24.data | 14 +
_test/data/spec-02-24.structure | 5 +
_test/data/spec-02-24.tokens | 20 ++
_test/data/spec-02-25.data | 7 +
_test/data/spec-02-25.structure | 1 +
_test/data/spec-02-25.tokens | 6 +
_test/data/spec-02-26.data | 7 +
_test/data/spec-02-26.structure | 5 +
_test/data/spec-02-26.tokens | 6 +
_test/data/spec-02-27.data | 29 ++
_test/data/spec-02-27.structure | 17 +
_test/data/spec-02-27.tokens | 20 ++
_test/data/spec-02-28.data | 26 ++
_test/data/spec-02-28.structure | 10 +
_test/data/spec-02-28.tokens | 23 ++
_test/data/spec-05-01-utf16be.data | Bin 0 -> 34 bytes
_test/data/spec-05-01-utf16be.empty | 2 +
_test/data/spec-05-01-utf16le.data | Bin 0 -> 34 bytes
_test/data/spec-05-01-utf16le.empty | 2 +
_test/data/spec-05-01-utf8.data | 1 +
_test/data/spec-05-01-utf8.empty | 2 +
_test/data/spec-05-02-utf16be.data | Bin 0 -> 90 bytes
_test/data/spec-05-02-utf16be.error | 3 +
_test/data/spec-05-02-utf16le.data | Bin 0 -> 90 bytes
_test/data/spec-05-02-utf16le.error | 3 +
_test/data/spec-05-02-utf8.data | 3 +
_test/data/spec-05-02-utf8.error | 3 +
_test/data/spec-05-03.canonical | 14 +
_test/data/spec-05-03.data | 7 +
_test/data/spec-05-04.canonical | 13 +
_test/data/spec-05-04.data | 2 +
_test/data/spec-05-05.data | 1 +
_test/data/spec-05-05.empty | 2 +
_test/data/spec-05-06.canonical | 8 +
_test/data/spec-05-06.data | 2 +
_test/data/spec-05-07.canonical | 8 +
_test/data/spec-05-07.data | 4 +
_test/data/spec-05-08.canonical | 8 +
_test/data/spec-05-08.data | 2 +
_test/data/spec-05-09.canonical | 3 +
_test/data/spec-05-09.data | 2 +
_test/data/spec-05-10.data | 2 +
_test/data/spec-05-10.error | 3 +
_test/data/spec-05-11.canonical | 6 +
_test/data/spec-05-11.data | 3 +
_test/data/spec-05-12.data | 9 +
_test/data/spec-05-12.error | 8 +
_test/data/spec-05-13.canonical | 5 +
_test/data/spec-05-13.data | 3 +
_test/data/spec-05-14.canonical | 7 +
_test/data/spec-05-14.data | 2 +
_test/data/spec-05-15.data | 3 +
_test/data/spec-05-15.error | 3 +
_test/data/spec-06-01.canonical | 15 +
_test/data/spec-06-01.data | 14 +
_test/data/spec-06-02.data | 3 +
_test/data/spec-06-02.empty | 2 +
_test/data/spec-06-03.canonical | 6 +
_test/data/spec-06-03.data | 2 +
_test/data/spec-06-04.canonical | 6 +
_test/data/spec-06-04.data | 4 +
_test/data/spec-06-05.canonical | 16 +
_test/data/spec-06-05.data | 6 +
_test/data/spec-06-06.canonical | 10 +
_test/data/spec-06-06.data | 7 +
_test/data/spec-06-07.canonical | 6 +
_test/data/spec-06-07.data | 8 +
_test/data/spec-06-08.canonical | 5 +
_test/data/spec-06-08.data | 2 +
_test/data/spec-07-01.canonical | 3 +
_test/data/spec-07-01.data | 3 +
_test/data/spec-07-01.skip-ext | 0
_test/data/spec-07-02.canonical | 3 +
_test/data/spec-07-02.data | 4 +
_test/data/spec-07-02.skip-ext | 0
_test/data/spec-07-03.data | 3 +
_test/data/spec-07-03.error | 3 +
_test/data/spec-07-04.canonical | 3 +
_test/data/spec-07-04.data | 3 +
_test/data/spec-07-05.data | 3 +
_test/data/spec-07-05.error | 4 +
_test/data/spec-07-06.canonical | 6 +
_test/data/spec-07-06.data | 5 +
_test/data/spec-07-07a.canonical | 3 +
_test/data/spec-07-07a.data | 2 +
_test/data/spec-07-07b.canonical | 3 +
_test/data/spec-07-07b.data | 4 +
_test/data/spec-07-08.canonical | 7 +
_test/data/spec-07-08.data | 9 +
_test/data/spec-07-09.canonical | 9 +
_test/data/spec-07-09.data | 11 +
_test/data/spec-07-10.canonical | 15 +
_test/data/spec-07-10.data | 11 +
_test/data/spec-07-11.data | 2 +
_test/data/spec-07-11.empty | 2 +
_test/data/spec-07-12a.canonical | 6 +
_test/data/spec-07-12a.data | 3 +
_test/data/spec-07-12b.canonical | 3 +
_test/data/spec-07-12b.data | 4 +
_test/data/spec-07-13.canonical | 9 +
_test/data/spec-07-13.data | 9 +
_test/data/spec-08-01.canonical | 8 +
_test/data/spec-08-01.data | 2 +
_test/data/spec-08-02.canonical | 8 +
_test/data/spec-08-02.data | 2 +
_test/data/spec-08-03.canonical | 6 +
_test/data/spec-08-03.data | 2 +
_test/data/spec-08-04.data | 2 +
_test/data/spec-08-04.error | 6 +
_test/data/spec-08-05.canonical | 7 +
_test/data/spec-08-05.data | 5 +
_test/data/spec-08-06.data | 5 +
_test/data/spec-08-06.error | 4 +
_test/data/spec-08-07.canonical | 8 +
_test/data/spec-08-07.data | 4 +
_test/data/spec-08-08.canonical | 15 +
_test/data/spec-08-08.data | 13 +
_test/data/spec-08-09.canonical | 21 ++
_test/data/spec-08-09.data | 11 +
_test/data/spec-08-10.canonical | 23 ++
_test/data/spec-08-10.data | 15 +
_test/data/spec-08-11.canonical | 8 +
_test/data/spec-08-11.data | 2 +
_test/data/spec-08-12.canonical | 10 +
_test/data/spec-08-12.data | 8 +
_test/data/spec-08-13.canonical | 10 +
_test/data/spec-08-13.data | 4 +
_test/data/spec-08-13.skip-ext | 0
_test/data/spec-08-14.canonical | 10 +
_test/data/spec-08-14.data | 5 +
_test/data/spec-08-15.canonical | 11 +
_test/data/spec-08-15.data | 5 +
_test/data/spec-09-01.canonical | 11 +
_test/data/spec-09-01.data | 6 +
_test/data/spec-09-02.canonical | 7 +
_test/data/spec-09-02.data | 6 +
_test/data/spec-09-03.canonical | 7 +
_test/data/spec-09-03.data | 6 +
_test/data/spec-09-04.canonical | 6 +
_test/data/spec-09-04.data | 4 +
_test/data/spec-09-05.canonical | 7 +
_test/data/spec-09-05.data | 8 +
_test/data/spec-09-06.canonical | 3 +
_test/data/spec-09-06.data | 1 +
_test/data/spec-09-07.canonical | 11 +
_test/data/spec-09-07.data | 6 +
_test/data/spec-09-08.canonical | 6 +
_test/data/spec-09-08.data | 1 +
_test/data/spec-09-09.canonical | 7 +
_test/data/spec-09-09.data | 6 +
_test/data/spec-09-10.canonical | 5 +
_test/data/spec-09-10.data | 3 +
_test/data/spec-09-11.canonical | 6 +
_test/data/spec-09-11.data | 5 +
_test/data/spec-09-12.canonical | 12 +
_test/data/spec-09-12.data | 8 +
_test/data/spec-09-13.canonical | 11 +
_test/data/spec-09-13.data | 6 +
_test/data/spec-09-14.data | 14 +
_test/data/spec-09-14.error | 6 +
_test/data/spec-09-15.canonical | 18 +
_test/data/spec-09-15.data | 13 +
_test/data/spec-09-16.canonical | 6 +
_test/data/spec-09-16.data | 3 +
_test/data/spec-09-17.canonical | 4 +
_test/data/spec-09-17.data | 3 +
_test/data/spec-09-18.canonical | 8 +
_test/data/spec-09-18.data | 9 +
_test/data/spec-09-19.canonical | 6 +
_test/data/spec-09-19.data | 4 +
_test/data/spec-09-20.canonical | 8 +
_test/data/spec-09-20.data | 11 +
_test/data/spec-09-20.skip-ext | 0
_test/data/spec-09-21.data | 8 +
_test/data/spec-09-21.error | 7 +
_test/data/spec-09-22.canonical | 10 +
_test/data/spec-09-22.data | 4 +
_test/data/spec-09-23.canonical | 10 +
_test/data/spec-09-23.data | 11 +
_test/data/spec-09-24.canonical | 10 +
_test/data/spec-09-24.data | 6 +
_test/data/spec-09-25.canonical | 4 +
_test/data/spec-09-25.data | 3 +
_test/data/spec-09-26.canonical | 3 +
_test/data/spec-09-26.data | 8 +
_test/data/spec-09-27.canonical | 3 +
_test/data/spec-09-27.data | 8 +
_test/data/spec-09-28.canonical | 3 +
_test/data/spec-09-28.data | 8 +
_test/data/spec-09-29.canonical | 4 +
_test/data/spec-09-29.data | 4 +
_test/data/spec-09-30.canonical | 7 +
_test/data/spec-09-30.data | 14 +
_test/data/spec-09-31.canonical | 7 +
_test/data/spec-09-31.data | 14 +
_test/data/spec-09-32.canonical | 7 +
_test/data/spec-09-32.data | 14 +
_test/data/spec-09-33.canonical | 7 +
_test/data/spec-09-33.data | 14 +
_test/data/spec-10-01.canonical | 12 +
_test/data/spec-10-01.data | 2 +
_test/data/spec-10-02.canonical | 14 +
_test/data/spec-10-02.data | 8 +
_test/data/spec-10-03.canonical | 12 +
_test/data/spec-10-03.data | 4 +
_test/data/spec-10-04.canonical | 11 +
_test/data/spec-10-04.data | 4 +
_test/data/spec-10-05.canonical | 14 +
_test/data/spec-10-05.data | 7 +
_test/data/spec-10-06.canonical | 16 +
_test/data/spec-10-06.data | 2 +
_test/data/spec-10-07.canonical | 16 +
_test/data/spec-10-07.data | 7 +
_test/data/spec-10-08.data | 5 +
_test/data/spec-10-08.error | 5 +
_test/data/spec-10-09.canonical | 8 +
_test/data/spec-10-09.data | 4 +
_test/data/spec-10-10.canonical | 16 +
_test/data/spec-10-10.data | 8 +
_test/data/spec-10-11.canonical | 24 ++
_test/data/spec-10-11.data | 7 +
_test/data/spec-10-12.canonical | 9 +
_test/data/spec-10-12.data | 3 +
_test/data/spec-10-13.canonical | 11 +
_test/data/spec-10-13.data | 5 +
_test/data/spec-10-14.canonical | 11 +
_test/data/spec-10-14.data | 4 +
_test/data/spec-10-15.canonical | 18 +
_test/data/spec-10-15.data | 3 +
_test/data/str.data | 1 +
_test/data/str.detect | 1 +
_test/data/tags.events | 12 +
_test/data/test_mark.marks | 38 ++
_test/data/timestamp-bugs.code | 8 +
_test/data/timestamp-bugs.data | 6 +
_test/data/timestamp.data | 5 +
_test/data/timestamp.detect | 1 +
_test/data/unclosed-bracket.loader-error | 6 +
_test/data/unclosed-quoted-scalar.loader-error | 2 +
_test/data/undefined-anchor.loader-error | 3 +
_test/data/undefined-constructor.loader-error | 1 +
_test/data/undefined-tag-handle.loader-error | 1 +
_test/data/unknown.dumper-error | 1 +
_test/data/unsupported-version.emitter-error | 5 +
_test/data/utf16be.code | 1 +
_test/data/utf16be.data | Bin 0 -> 30 bytes
_test/data/utf16le.code | 1 +
_test/data/utf16le.data | Bin 0 -> 30 bytes
_test/data/utf8-implicit.code | 1 +
_test/data/utf8-implicit.data | 1 +
_test/data/utf8.code | 1 +
_test/data/utf8.data | 1 +
_test/data/util/00_ok.yaml | 3 +
_test/data/util/01_second_rt_ok.yaml | 3 +
_test/data/util/02_not_ok.yaml | 2 +
_test/data/util/03_no_comment_ok.yaml | 2 +
_test/data/valid_escape_characters.code | 1 +
_test/data/valid_escape_characters.data | 1 +
_test/data/valid_escape_characters.skip-ext | 0
_test/data/value.data | 1 +
_test/data/value.detect | 1 +
_test/data/yaml.data | 3 +
_test/data/yaml.detect | 1 +
_test/lib/canonical.py | 369 ++++++++++++++++++++
_test/lib/test_all.py | 17 +
_test/lib/test_appliance.py | 214 ++++++++++++
_test/lib/test_build.py | 10 +
_test/lib/test_build_ext.py | 11 +
_test/lib/test_canonical.py | 46 +++
_test/lib/test_constructor.py | 322 +++++++++++++++++
_test/lib/test_emitter.py | 107 ++++++
_test/lib/test_errors.py | 75 ++++
_test/lib/test_input_output.py | 260 ++++++++++++++
_test/lib/test_mark.py | 37 ++
_test/lib/test_reader.py | 48 +++
_test/lib/test_recursive.py | 54 +++
_test/lib/test_representer.py | 46 +++
_test/lib/test_resolver.py | 101 ++++++
_test/lib/test_structure.py | 201 +++++++++++
_test/lib/test_tokens.py | 85 +++++
_test/lib/test_yaml.py | 19 +
_test/lib/test_yaml_ext.py | 350 +++++++++++++++++++
_test/roundtrip.py | 54 +++
{test => _test}/test_a_dedent.py | 0
{test => _test}/test_anchor.py | 23 +-
{test => _test}/test_comment_manipulation.py | 20 +-
{test => _test}/test_comments.py | 149 +++++++-
{test => _test}/test_cyaml.py | 4 +-
{test => _test}/test_indentation.py | 14 +-
{test => _test}/test_json_numbers.py | 6 +-
{test => _test}/test_line_col.py | 7 +-
{test => _test}/test_program_config.py | 6 +-
{test => _test}/test_string.py | 20 +-
test/test_yaml.py => _test/test_yamlfile.py | 44 ++-
{test => _test}/test_z_data.py | 4 +-
comments.py | 26 +-
composer.py | 8 +-
configobjwalker.py | 32 +-
constructor.py | 48 +--
cyaml.py | 16 +-
dumper.py | 17 +-
emitter.py | 34 +-
error.py | 1 -
example/add_comment.py | 24 ++
example/anchor_merge.py | 29 ++
example/small.py | 16 +
example/so_10241882.py | 63 ++++
example/so_13517753.py | 54 +++
loader.py | 25 +-
main.py | 17 +-
make_win_whl.py | 10 +-
parser_.py | 13 +-
reader.py | 1 -
representer.py | 34 +-
resolver.py | 8 +-
ruamel.yaml.egg-info/PKG-INFO | 301 ----------------
ruamel.yaml.egg-info/SOURCES.txt | 63 ----
ruamel.yaml.egg-info/dependency_links.txt | 1 -
ruamel.yaml.egg-info/namespace_packages.txt | 1 -
ruamel.yaml.egg-info/requires.txt | 2 -
ruamel.yaml.egg-info/top_level.txt | 2 -
scalarstring.py | 3 +-
scanner.py | 6 +-
serializer.py | 11 +-
setup.cfg | 5 -
setup.py | 111 ++++--
tokens.py | 2 +-
tox.ini | 23 ++
winwhl.bat | 11 +
654 files changed, 6898 insertions(+), 938 deletions(-)
diff --git a/.appveyor.yaml b/.appveyor.yaml
new file mode 100644
index 0000000..d64dd1d
--- /dev/null
+++ b/.appveyor.yaml
@@ -0,0 +1,29 @@
+environment:
+ matrix:
+# - PYTHON: C:\Python27
+# - PYTHON: C:\Python33
+# - PYTHON: C:\Python34
+ - PYTHON: C:\Python35
+# - PYTHON: C:\Python27-x64
+# - PYTHON: C:\Python33-x64
+# DISTUTILS_USE_SDK: '1'
+# - PYTHON: 'C:\Python34-x64'
+ DISTUTILS_USE_SDK: '1'
+ - PYTHON: 'C:\Python35-x64'
+
+install:
+ - |
+ %PYTHON%\python.exe -m pip install --upgrade pip
+ %PYTHON%\python.exe -m pip install wheel==0.24
+
+build: off
+
+test_script:
+ - echo Skipped for now
+
+after_test:
+ - |
+ %PYTHON%\python.exe setup.py bdist_wheel
+
+artifacts:
+ - path: dist\*
diff --git a/.hg_archival.txt b/.hg_archival.txt
new file mode 100644
index 0000000..d0cd5d6
--- /dev/null
+++ b/.hg_archival.txt
@@ -0,0 +1,4 @@
+repo: e99c8d58f995a8f13dfbeadbf4dbcbe458caccb0
+node: e18897e2dfc1fbd0f4949675390804b7c5cf9177
+branch: default
+tag: 0.10.23
diff --git a/.hgignore b/.hgignore
new file mode 100644
index 0000000..0426bfb
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,26 @@
+syntax: glob
+
+# python derivatives
+*.pyc
+*.pyo
+*$py.class
+# backup files
+*~
+*.bak
+*.o
+*.orig
+.ruamel
+# pip / setup related
+dist
+build
+*.egg-info
+# tox related
+.tox
+.cache
+
+_yaml.so
+README.pdf
+venv
+convert
+cmd
+TODO.rst
diff --git a/.hgtags b/.hgtags
new file mode 100644
index 0000000..0521b3b
--- /dev/null
+++ b/.hgtags
@@ -0,0 +1,8 @@
+8feb415618c6a4c5583e8732d710dcebb5eaf4f2 0.10.5
+547ffc9bcc4321968a3c59b32ca0acfeba40b9b0 0.10.15
+70d15108c0fedd81c159315c78c7d68f7a2fd9d7 0.10.16
+a79ba7f0cc8fa5d68518893a3f10e17676e67046 0.10.17
+569743fc9f63e33379425734c8f8db5d8db2511d 0.10.18
+71814e979983a45be5feea16815becba232593e1 0.10.19
+74915d2345dfde360479b94a5975da36711b4d6e 0.10.20
+c78d15d315599670be54141ca8c96e050fabca2e 0.10.22
diff --git a/.ruamel/__init__.py b/.ruamel/__init__.py
deleted file mode 100644
index ece379c..0000000
--- a/.ruamel/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-import pkg_resources
-pkg_resources.declare_namespace(__name__)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cebdacf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,37 @@
+
+UTILNAME:=yaml
+PKGNAME:=ruamel.yaml
+VERSION:=$(shell python setup.py --version)
+REGEN:=/home/bin/ruamel_util_new util --published --command YAML --skip-hg
+
+include ~/.config/ruamel_util_new/Makefile.inc
+
+gen_win_whl:
+ python2 setup.py bdist_wheel --plat-name win32
+ python2 setup.py bdist_wheel --plat-name win_amd64
+ python3 setup.py bdist_wheel --plat-name win32
+ python3 setup.py bdist_wheel --plat-name win_amd64
+ #@python make_win_whl.py dist/$(PKGNAME)-$(VERSION)-*-none-any.whl
+
+clean: clean_common
+ find . -name "*py.class" -exec rm {} +
+
+cython: ext/_yaml.c
+
+ext/_yaml.c: ext/_yaml.pyx
+ cd ext; cython _yaml.pyx
+
+ls-l:
+ ls -l dist/*$(VERSION)*
+
+#tstvenv: testvenv testsetup testtest
+#
+#testvenv:
+# virtualenv -p /opt/python/2.7/bin/python testvenv
+#
+#testsetup:
+# testvenv/bin/pip install -e .
+# testvenv/bin/pip install pytest
+#
+#testtest:
+# testvenv/bin/py.test
diff --git a/PKG-INFO b/PKG-INFO
deleted file mode 100644
index 236f99a..0000000
--- a/PKG-INFO
+++ /dev/null
@@ -1,301 +0,0 @@
-Metadata-Version: 1.1
-Name: ruamel.yaml
-Version: 0.10.12
-Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
-Home-page: https://bitbucket.org/ruamel/yaml
-Author: Anthon van der Neut
-Author-email: a.van.der.neut at ruamel.eu
-License: MIT license
-Description:
- ruamel.yaml
- ===========
-
- Starting with 0.10.7 the package has been reorganise and the
- commandline utility is in its own package ``ruamel.yaml.cmd`` (so
- installing ``ruamel.yaml`` doesn't pull in possible irrelevant modules
- only used in the commandline utility)
-
- ``ruamel.yaml`` is a YAML package for Python. It is a derivative
- of Kirill Simonov's `PyYAML 3.11 <https://bitbucket.org/xi/pyyaml>`_
- which supports YAML1.1
-
- Major differences with PyYAML 3.11:
-
- - intergrated Python 2 and 3 sources, running on Python 2.6, 2.7 (CPython,
- PyPy), 3.3 and 3.4.
- - round trip mode that **includes comments** (block mode, key ordering kept)
- - support for simple lists as mapping keys by transformation to tuples
- - ``!!omap`` generates ordereddict (C) on Python 2, collections.OrderedDict
- on Python 3, and ``!!omap`` is generated for these types.
- - some `YAML 1.2 <http://yaml.org/spec/1.2/spec.html>`_ enhancements
- (``0o`` octal prefix, ``\/`` escape)
- - pep8 compliance
- - tox and py.test based testing
- - Tests whether the C yaml library is installed as well as the header
- files. That library doesn't generate CommentTokens, so it cannot be used to
- do round trip editing on comments. It can be used for speeded up normal
- processing (so you don't need to install ``ruamel.yaml`` and ``PyYaml``).
- See the section *Optional requirements*.
- - Basic support for multiline strings with preserved newlines and
- chomping ( '``|``', '``|+``', '``|-``' ). As this subclasses the string type
- the information is lost on reassignment. (This might be changed
- in the future so that the preservation/folding/chomping is part of the
- parent container, like comments).
- - RoundTrip preservation of flow style sequences ( 'a: b, c, d') (based
- on request and test by Anthony Sottile)
- - anchors names that are hand-crafted (not of the form``idNNN``), are preserved
- - `merges <http://yaml.org/type/merge.html>`_ in dictionaries are preserved
- - adding/replacing of comments on block style sequences and mappings
- with smart column positioning
- - collection objects (when read in via RoundTripParser) have an ``lc``
- property that contains line and column info ``lc.line`` and ``lc.col``.
- Individual positions for mappings and sequences can also be retrieved
- (``lc.key('a')``, ``lc.value('a')`` resp. ``lc.item(3)``)
- - preservation of whitelines after block scalars. Contributed by Sam Thursfield.
-
- Round trip including comments
- =============================
-
- The major motivation for this fork is the round-trip capability for
- comments. The integration of the sources was just an initial step to
- make this easier.
-
- adding/replacing comments
- -------------------------
-
- Starting with version 0.8, you can add/replace comments on block style
- collections (mappings/sequences resuting in Python dict/list). The basic
- for for this is::
-
- from __future__ import print_function
-
- import ruamel.yaml
-
- inp = """\
- abc:
- - a # comment 1
- xyz:
- a: 1 # comment 2
- b: 2
- c: 3
- d: 4
- e: 5
- f: 6 # comment 3
- """
-
- data = ruamel.yaml.load(inp, ruamel.yaml.RoundTripLoader)
- data['abc'].append('b')
- data['abc'].yaml_add_eol_comment('comment 4', 1) # takes column of comment 1
- data['xyz'].yaml_add_eol_comment('comment 5', 'c') # takes column of comment 2
- data['xyz'].yaml_add_eol_comment('comment 6', 'e') # takes column of comment 3
- data['xyz'].yaml_add_eol_comment('comment 7', 'd', column=20)
-
- print(ruamel.yaml.dump(data, Dumper=ruamel.yaml.RoundTripDumper), end='')
-
- .. example code add_comment.py
-
- Resulting in::
-
- abc:
- - a # comment 1
- - b # comment 4
- xyz:
- a: 1 # comment 2
- b: 2
- c: 3 # comment 5
- d: 4 # comment 7
- e: 5 # comment 6
- f: 6 # comment 3
-
-
- .. example output add_comment.py
-
-
- If the comment doesn't start with '#', this will be added. The key is is
- the element index for list, the actual key for dictionaries. As can be seen
- from the example, the column to choose for a comment is derived
- from the previous, next or preceding comment column (picking the first one
- found).
-
- Config file formats
- ===================
-
- There are only a few configuration file formats that are easily
- readable, and editable: JSON, INI/ConfigParser, YAML (XML is to cluttered
- to be called easily readable).
-
- Unfortunately `JSON <http://www.json.org/>`_ doesn't support comments,
- and although there are some solutions with pre-processed filtering of
- comments, there are no libraries that support round trip updating of
- such commented files.
-
- INI files support comments, and the excellent `ConfigObj
- <http://www.voidspace.org.uk/python/configobj.html>`_ library by Foord
- and Larosa even supports round trip editing with comment preservation,
- nesting of sections and limited lists (within a value). Retrieval of
- particular value format is explicit (and extensible).
-
- YAML has basic mapping and sequence structures as well support for
- ordered mappings and sets. It supports scalars are of various types
- including dates and datetimes (missing in JSON) as a list of
- YAML has comments, but these are normally thrown away.
-
- Block structured YAML is a clean and very human readable
- format. By extending the Python YAML parser to support round trip
- preservation of comments, it makes YAML a very good choice for
- configuration files that are human readable and editable while at
- the same time interpretable and modifiable by a program.
-
- Extending
- =========
-
- There are normally 6 files involved when extending the roundtrip
- capabilities: the reader, parser, composer and constructor to go from YAML to
- Python and the resolver, representer, serializer and emitter to go the other
- way.
-
- Extending involves keeping extra data around for the next process step,
- eventuallly resulting in a different Python object (subclass or alternative),
- that should behave like the original, but on the way from Python to YAML
- generates the original (or at least something much closer).
-
- Smartening
- ==========
-
- When you use round-tripping, then the complex data you get are
- already subclasses of the build in types. So you can patch
- in extra methods or override existing ones. Some methods are already
- included and you can do::
-
- yaml_str = """\
- a:
- - b:
- c: 42
- - d:
- f: 196
- e:
- g: 3.14
- """
-
-
- data = yaml.load(yaml_str, Loader=yaml.RoundTripLoader)
-
- assert data.mlget(['a', 1, 'd', 'f'], list_ok=True) == 196
-
-
- Examples
- ========
-
- Basic round trip of parsing YAML to Python objects, modifying
- and generating YAML::
... 12321 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ruamel.yaml.git
More information about the Python-modules-commits
mailing list