Source code

Revision control

Copy as Markdown

Other Tools

CHANGES
LICENSE
MANIFEST.in
Makefile
README.md
pyproject.toml
setup.py
examples/pygments-lexer/example.yaml
examples/pygments-lexer/yaml.py
examples/yaml-highlight/yaml_hl.cfg
examples/yaml-highlight/yaml_hl.py
lib/PyYAML.egg-info/PKG-INFO
lib/PyYAML.egg-info/SOURCES.txt
lib/PyYAML.egg-info/dependency_links.txt
lib/PyYAML.egg-info/top_level.txt
lib/_yaml/__init__.py
lib/yaml/__init__.py
lib/yaml/composer.py
lib/yaml/constructor.py
lib/yaml/cyaml.py
lib/yaml/dumper.py
lib/yaml/emitter.py
lib/yaml/error.py
lib/yaml/events.py
lib/yaml/loader.py
lib/yaml/nodes.py
lib/yaml/parser.py
lib/yaml/reader.py
lib/yaml/representer.py
lib/yaml/resolver.py
lib/yaml/scanner.py
lib/yaml/serializer.py
lib/yaml/tokens.py
tests/data/a-nasty-libyaml-bug.loader-error
tests/data/aliases-cdumper-bug.code
tests/data/aliases.events
tests/data/bool.data
tests/data/bool.detect
tests/data/construct-binary-py2.code
tests/data/construct-binary-py2.data
tests/data/construct-binary-py3.code
tests/data/construct-binary-py3.data
tests/data/construct-bool.code
tests/data/construct-bool.data
tests/data/construct-custom.code
tests/data/construct-custom.data
tests/data/construct-float.code
tests/data/construct-float.data
tests/data/construct-int.code
tests/data/construct-int.data
tests/data/construct-map.code
tests/data/construct-map.data
tests/data/construct-merge.code
tests/data/construct-merge.data
tests/data/construct-null.code
tests/data/construct-null.data
tests/data/construct-omap.code
tests/data/construct-omap.data
tests/data/construct-pairs.code
tests/data/construct-pairs.data
tests/data/construct-python-bool.code
tests/data/construct-python-bool.data
tests/data/construct-python-bytes-py3.code
tests/data/construct-python-bytes-py3.data
tests/data/construct-python-complex.code
tests/data/construct-python-complex.data
tests/data/construct-python-float.code
tests/data/construct-python-float.data
tests/data/construct-python-int.code
tests/data/construct-python-int.data
tests/data/construct-python-long-short-py2.code
tests/data/construct-python-long-short-py2.data
tests/data/construct-python-long-short-py3.code
tests/data/construct-python-long-short-py3.data
tests/data/construct-python-name-module.code
tests/data/construct-python-name-module.data
tests/data/construct-python-none.code
tests/data/construct-python-none.data
tests/data/construct-python-object.code
tests/data/construct-python-object.data
tests/data/construct-python-str-ascii.code
tests/data/construct-python-str-ascii.data
tests/data/construct-python-str-utf8-py2.code
tests/data/construct-python-str-utf8-py2.data
tests/data/construct-python-str-utf8-py3.code
tests/data/construct-python-str-utf8-py3.data
tests/data/construct-python-tuple-list-dict.code
tests/data/construct-python-tuple-list-dict.data
tests/data/construct-python-unicode-ascii-py2.code
tests/data/construct-python-unicode-ascii-py2.data
tests/data/construct-python-unicode-ascii-py3.code
tests/data/construct-python-unicode-ascii-py3.data
tests/data/construct-python-unicode-utf8-py2.code
tests/data/construct-python-unicode-utf8-py2.data
tests/data/construct-python-unicode-utf8-py3.code
tests/data/construct-python-unicode-utf8-py3.data
tests/data/construct-seq.code
tests/data/construct-seq.data
tests/data/construct-set.code
tests/data/construct-set.data
tests/data/construct-str-ascii.code
tests/data/construct-str-ascii.data
tests/data/construct-str-utf8-py2.code
tests/data/construct-str-utf8-py2.data
tests/data/construct-str-utf8-py3.code
tests/data/construct-str-utf8-py3.data
tests/data/construct-str.code
tests/data/construct-str.data
tests/data/construct-timestamp.code
tests/data/construct-timestamp.data
tests/data/construct-value.code
tests/data/construct-value.data
tests/data/document-separator-in-quoted-scalar.loader-error
tests/data/documents.events
tests/data/duplicate-anchor-1.loader-error
tests/data/duplicate-anchor-2.loader-error
tests/data/duplicate-key.former-loader-error.code
tests/data/duplicate-key.former-loader-error.data
tests/data/duplicate-mapping-key.former-loader-error.code
tests/data/duplicate-mapping-key.former-loader-error.data
tests/data/duplicate-merge-key.former-loader-error.code
tests/data/duplicate-merge-key.former-loader-error.data
tests/data/duplicate-tag-directive.loader-error
tests/data/duplicate-value-key.former-loader-error.code
tests/data/duplicate-value-key.former-loader-error.data
tests/data/duplicate-yaml-directive.loader-error
tests/data/emit-block-scalar-in-simple-key-context-bug.canonical
tests/data/emit-block-scalar-in-simple-key-context-bug.data
tests/data/emitting-unacceptable-unicode-character-bug-py3.code
tests/data/emitting-unacceptable-unicode-character-bug-py3.data
tests/data/emitting-unacceptable-unicode-character-bug-py3.skip-ext
tests/data/emitting-unacceptable-unicode-character-bug.code
tests/data/emitting-unacceptable-unicode-character-bug.data
tests/data/emitting-unacceptable-unicode-character-bug.skip-ext
tests/data/emoticons.unicode
tests/data/emoticons2.unicode
tests/data/empty-anchor.emitter-error
tests/data/empty-document-bug.canonical
tests/data/empty-document-bug.data
tests/data/empty-document-bug.empty
tests/data/empty-documents.single-loader-error
tests/data/empty-python-module.loader-error
tests/data/empty-python-name.loader-error
tests/data/empty-tag-handle.emitter-error
tests/data/empty-tag-prefix.emitter-error
tests/data/empty-tag.emitter-error
tests/data/expected-document-end.emitter-error
tests/data/expected-document-start.emitter-error
tests/data/expected-mapping.loader-error
tests/data/expected-node-1.emitter-error
tests/data/expected-node-2.emitter-error
tests/data/expected-nothing.emitter-error
tests/data/expected-scalar.loader-error
tests/data/expected-sequence.loader-error
tests/data/expected-stream-start.emitter-error
tests/data/explicit-document.single-loader-error
tests/data/fetch-complex-value-bug.loader-error
tests/data/float-representer-2.3-bug.code
tests/data/float-representer-2.3-bug.data
tests/data/float.data
tests/data/float.detect
tests/data/forbidden-entry.loader-error
tests/data/forbidden-key.loader-error
tests/data/forbidden-value.loader-error
tests/data/implicit-document.single-loader-error
tests/data/int.data
tests/data/int.detect
tests/data/invalid-anchor-1.loader-error
tests/data/invalid-anchor-2.loader-error
tests/data/invalid-anchor.emitter-error
tests/data/invalid-base64-data-2.loader-error
tests/data/invalid-base64-data.loader-error
tests/data/invalid-block-scalar-indicator.loader-error
tests/data/invalid-character.loader-error
tests/data/invalid-character.stream-error
tests/data/invalid-directive-line.loader-error
tests/data/invalid-directive-name-1.loader-error
tests/data/invalid-directive-name-2.loader-error
tests/data/invalid-escape-character.loader-error
tests/data/invalid-escape-numbers.loader-error
tests/data/invalid-indentation-indicator-1.loader-error
tests/data/invalid-indentation-indicator-2.loader-error
tests/data/invalid-item-without-trailing-break.loader-error
tests/data/invalid-merge-1.loader-error
tests/data/invalid-merge-2.loader-error
tests/data/invalid-omap-1.loader-error
tests/data/invalid-omap-2.loader-error
tests/data/invalid-omap-3.loader-error
tests/data/invalid-pairs-1.loader-error
tests/data/invalid-pairs-2.loader-error
tests/data/invalid-pairs-3.loader-error
tests/data/invalid-python-bytes-2-py3.loader-error
tests/data/invalid-python-bytes-py3.loader-error
tests/data/invalid-python-module-kind.loader-error
tests/data/invalid-python-module-value.loader-error
tests/data/invalid-python-module.loader-error
tests/data/invalid-python-name-kind.loader-error
tests/data/invalid-python-name-module.loader-error
tests/data/invalid-python-name-object.loader-error
tests/data/invalid-python-name-value.loader-error
tests/data/invalid-simple-key.loader-error
tests/data/invalid-single-quote-bug.code
tests/data/invalid-single-quote-bug.data
tests/data/invalid-starting-character.loader-error
tests/data/invalid-tag-1.loader-error
tests/data/invalid-tag-2.loader-error
tests/data/invalid-tag-directive-handle.loader-error
tests/data/invalid-tag-directive-prefix.loader-error
tests/data/invalid-tag-handle-1.emitter-error
tests/data/invalid-tag-handle-1.loader-error
tests/data/invalid-tag-handle-2.emitter-error
tests/data/invalid-tag-handle-2.loader-error
tests/data/invalid-uri-escapes-1.loader-error
tests/data/invalid-uri-escapes-2.loader-error
tests/data/invalid-uri-escapes-3.loader-error
tests/data/invalid-uri.loader-error
tests/data/invalid-utf8-byte.loader-error
tests/data/invalid-utf8-byte.stream-error
tests/data/invalid-yaml-directive-version-1.loader-error
tests/data/invalid-yaml-directive-version-2.loader-error
tests/data/invalid-yaml-directive-version-3.loader-error
tests/data/invalid-yaml-directive-version-4.loader-error
tests/data/invalid-yaml-directive-version-5.loader-error
tests/data/invalid-yaml-directive-version-6.loader-error
tests/data/invalid-yaml-version.loader-error
tests/data/latin.unicode
tests/data/mapping.sort
tests/data/mapping.sorted
tests/data/mappings.events
tests/data/merge.data
tests/data/merge.detect
tests/data/more-floats.code
tests/data/more-floats.data
tests/data/multi-constructor.code
tests/data/multi-constructor.multi
tests/data/myfullloader.subclass_blacklist
tests/data/negative-float-bug.code
tests/data/negative-float-bug.data
tests/data/no-alias-anchor.emitter-error
tests/data/no-alias-anchor.skip-ext
tests/data/no-block-collection-end.loader-error
tests/data/no-block-mapping-end-2.loader-error
tests/data/no-block-mapping-end.loader-error
tests/data/no-document-start.loader-error
tests/data/no-flow-mapping-end.loader-error
tests/data/no-flow-sequence-end.loader-error
tests/data/no-node-1.loader-error
tests/data/no-node-2.loader-error
tests/data/no-tag.emitter-error
tests/data/null.data
tests/data/null.detect
tests/data/odd-utf16.stream-error
tests/data/overwrite-state-new-constructor.loader-error
tests/data/recursive-anchor.former-loader-error
tests/data/recursive-dict.recursive
tests/data/recursive-list.recursive
tests/data/recursive-set.recursive
tests/data/recursive-state.recursive
tests/data/recursive-tuple.recursive
tests/data/recursive.former-dumper-error
tests/data/remove-possible-simple-key-bug.loader-error
tests/data/resolver.data
tests/data/resolver.path
tests/data/run-parser-crash-bug.data
tests/data/scalars.events
tests/data/scan-document-end-bug.canonical
tests/data/scan-document-end-bug.data
tests/data/scan-line-break-bug.canonical
tests/data/scan-line-break-bug.data
tests/data/sequences.events
tests/data/serializer-is-already-opened.dumper-error
tests/data/serializer-is-closed-1.dumper-error
tests/data/serializer-is-closed-2.dumper-error
tests/data/serializer-is-not-opened-1.dumper-error
tests/data/serializer-is-not-opened-2.dumper-error
tests/data/single-dot-is-not-float-bug.code
tests/data/single-dot-is-not-float-bug.data
tests/data/sloppy-indentation.canonical
tests/data/sloppy-indentation.data
tests/data/spec-02-01.data
tests/data/spec-02-01.structure
tests/data/spec-02-01.tokens
tests/data/spec-02-02.data
tests/data/spec-02-02.structure
tests/data/spec-02-02.tokens
tests/data/spec-02-03.data
tests/data/spec-02-03.structure
tests/data/spec-02-03.tokens
tests/data/spec-02-04.data
tests/data/spec-02-04.structure
tests/data/spec-02-04.tokens
tests/data/spec-02-05.data
tests/data/spec-02-05.structure
tests/data/spec-02-05.tokens
tests/data/spec-02-06.data
tests/data/spec-02-06.structure
tests/data/spec-02-06.tokens
tests/data/spec-02-07.data
tests/data/spec-02-07.structure
tests/data/spec-02-07.tokens
tests/data/spec-02-08.data
tests/data/spec-02-08.structure
tests/data/spec-02-08.tokens
tests/data/spec-02-09.data
tests/data/spec-02-09.structure
tests/data/spec-02-09.tokens
tests/data/spec-02-10.data
tests/data/spec-02-10.structure
tests/data/spec-02-10.tokens
tests/data/spec-02-11.data
tests/data/spec-02-11.structure
tests/data/spec-02-11.tokens
tests/data/spec-02-12.data
tests/data/spec-02-12.structure
tests/data/spec-02-12.tokens
tests/data/spec-02-13.data
tests/data/spec-02-13.structure
tests/data/spec-02-13.tokens
tests/data/spec-02-14.data
tests/data/spec-02-14.structure
tests/data/spec-02-14.tokens
tests/data/spec-02-15.data
tests/data/spec-02-15.structure
tests/data/spec-02-15.tokens
tests/data/spec-02-16.data
tests/data/spec-02-16.structure
tests/data/spec-02-16.tokens
tests/data/spec-02-17.data
tests/data/spec-02-17.structure
tests/data/spec-02-17.tokens
tests/data/spec-02-18.data
tests/data/spec-02-18.structure
tests/data/spec-02-18.tokens
tests/data/spec-02-19.data
tests/data/spec-02-19.structure
tests/data/spec-02-19.tokens
tests/data/spec-02-20.data
tests/data/spec-02-20.structure
tests/data/spec-02-20.tokens
tests/data/spec-02-21.data
tests/data/spec-02-21.structure
tests/data/spec-02-21.tokens
tests/data/spec-02-22.data
tests/data/spec-02-22.structure
tests/data/spec-02-22.tokens
tests/data/spec-02-23.data
tests/data/spec-02-23.structure
tests/data/spec-02-23.tokens
tests/data/spec-02-24.data
tests/data/spec-02-24.structure
tests/data/spec-02-24.tokens
tests/data/spec-02-25.data
tests/data/spec-02-25.structure
tests/data/spec-02-25.tokens
tests/data/spec-02-26.data
tests/data/spec-02-26.structure
tests/data/spec-02-26.tokens
tests/data/spec-02-27.data
tests/data/spec-02-27.structure
tests/data/spec-02-27.tokens
tests/data/spec-02-28.data
tests/data/spec-02-28.structure
tests/data/spec-02-28.tokens
tests/data/spec-05-01-utf16be.data
tests/data/spec-05-01-utf16be.empty
tests/data/spec-05-01-utf16le.data
tests/data/spec-05-01-utf16le.empty
tests/data/spec-05-01-utf8.data
tests/data/spec-05-01-utf8.empty
tests/data/spec-05-02-utf16be.data
tests/data/spec-05-02-utf16be.error
tests/data/spec-05-02-utf16le.data
tests/data/spec-05-02-utf16le.error
tests/data/spec-05-02-utf8.data
tests/data/spec-05-02-utf8.error
tests/data/spec-05-03.canonical
tests/data/spec-05-03.data
tests/data/spec-05-04.canonical
tests/data/spec-05-04.data
tests/data/spec-05-05.data
tests/data/spec-05-05.empty
tests/data/spec-05-06.canonical
tests/data/spec-05-06.data
tests/data/spec-05-07.canonical
tests/data/spec-05-07.data
tests/data/spec-05-08.canonical
tests/data/spec-05-08.data
tests/data/spec-05-09.canonical
tests/data/spec-05-09.data
tests/data/spec-05-10.data
tests/data/spec-05-10.error
tests/data/spec-05-11.canonical
tests/data/spec-05-11.data
tests/data/spec-05-12.data
tests/data/spec-05-12.error
tests/data/spec-05-13.canonical
tests/data/spec-05-13.data
tests/data/spec-05-14.canonical
tests/data/spec-05-14.data
tests/data/spec-05-15.data
tests/data/spec-05-15.error
tests/data/spec-06-01.canonical
tests/data/spec-06-01.data
tests/data/spec-06-02.data
tests/data/spec-06-02.empty
tests/data/spec-06-03.canonical
tests/data/spec-06-03.data
tests/data/spec-06-04.canonical
tests/data/spec-06-04.data
tests/data/spec-06-05.canonical
tests/data/spec-06-05.data
tests/data/spec-06-06.canonical
tests/data/spec-06-06.data
tests/data/spec-06-07.canonical
tests/data/spec-06-07.data
tests/data/spec-06-08.canonical
tests/data/spec-06-08.data
tests/data/spec-07-01.canonical
tests/data/spec-07-01.data
tests/data/spec-07-01.skip-ext
tests/data/spec-07-02.canonical
tests/data/spec-07-02.data
tests/data/spec-07-02.skip-ext
tests/data/spec-07-03.data
tests/data/spec-07-03.error
tests/data/spec-07-04.canonical
tests/data/spec-07-04.data
tests/data/spec-07-05.data
tests/data/spec-07-05.error
tests/data/spec-07-06.canonical
tests/data/spec-07-06.data
tests/data/spec-07-07a.canonical
tests/data/spec-07-07a.data
tests/data/spec-07-07b.canonical
tests/data/spec-07-07b.data
tests/data/spec-07-08.canonical
tests/data/spec-07-08.data
tests/data/spec-07-09.canonical
tests/data/spec-07-09.data
tests/data/spec-07-10.canonical
tests/data/spec-07-10.data
tests/data/spec-07-11.data
tests/data/spec-07-11.empty
tests/data/spec-07-12a.canonical
tests/data/spec-07-12a.data
tests/data/spec-07-12b.canonical
tests/data/spec-07-12b.data
tests/data/spec-07-13.canonical
tests/data/spec-07-13.data
tests/data/spec-08-01.canonical
tests/data/spec-08-01.data
tests/data/spec-08-02.canonical
tests/data/spec-08-02.data
tests/data/spec-08-03.canonical
tests/data/spec-08-03.data
tests/data/spec-08-04.data
tests/data/spec-08-04.error
tests/data/spec-08-05.canonical
tests/data/spec-08-05.data
tests/data/spec-08-06.data
tests/data/spec-08-06.error
tests/data/spec-08-07.canonical
tests/data/spec-08-07.data
tests/data/spec-08-08.canonical
tests/data/spec-08-08.data
tests/data/spec-08-09.canonical
tests/data/spec-08-09.data
tests/data/spec-08-10.canonical
tests/data/spec-08-10.data
tests/data/spec-08-11.canonical
tests/data/spec-08-11.data
tests/data/spec-08-12.canonical
tests/data/spec-08-12.data
tests/data/spec-08-13.canonical
tests/data/spec-08-13.data
tests/data/spec-08-13.skip-ext
tests/data/spec-08-14.canonical
tests/data/spec-08-14.data
tests/data/spec-08-15.canonical
tests/data/spec-08-15.data
tests/data/spec-09-01.canonical
tests/data/spec-09-01.data
tests/data/spec-09-02.canonical
tests/data/spec-09-02.data
tests/data/spec-09-03.canonical
tests/data/spec-09-03.data
tests/data/spec-09-04.canonical
tests/data/spec-09-04.data
tests/data/spec-09-05.canonical
tests/data/spec-09-05.data
tests/data/spec-09-06.canonical
tests/data/spec-09-06.data
tests/data/spec-09-07.canonical
tests/data/spec-09-07.data
tests/data/spec-09-08.canonical
tests/data/spec-09-08.data
tests/data/spec-09-09.canonical
tests/data/spec-09-09.data
tests/data/spec-09-10.canonical
tests/data/spec-09-10.data
tests/data/spec-09-11.canonical
tests/data/spec-09-11.data
tests/data/spec-09-12.canonical
tests/data/spec-09-12.data
tests/data/spec-09-13.canonical
tests/data/spec-09-13.data
tests/data/spec-09-14.data
tests/data/spec-09-14.error
tests/data/spec-09-15.canonical
tests/data/spec-09-15.data
tests/data/spec-09-16.canonical
tests/data/spec-09-16.data
tests/data/spec-09-17.canonical
tests/data/spec-09-17.data
tests/data/spec-09-18.canonical
tests/data/spec-09-18.data
tests/data/spec-09-19.canonical
tests/data/spec-09-19.data
tests/data/spec-09-20.canonical
tests/data/spec-09-20.data
tests/data/spec-09-20.skip-ext
tests/data/spec-09-21.data
tests/data/spec-09-21.error
tests/data/spec-09-22.canonical
tests/data/spec-09-22.data
tests/data/spec-09-23.canonical
tests/data/spec-09-23.data
tests/data/spec-09-24.canonical
tests/data/spec-09-24.data
tests/data/spec-09-25.canonical
tests/data/spec-09-25.data
tests/data/spec-09-26.canonical
tests/data/spec-09-26.data
tests/data/spec-09-27.canonical
tests/data/spec-09-27.data
tests/data/spec-09-28.canonical
tests/data/spec-09-28.data
tests/data/spec-09-29.canonical
tests/data/spec-09-29.data
tests/data/spec-09-30.canonical
tests/data/spec-09-30.data
tests/data/spec-09-31.canonical
tests/data/spec-09-31.data
tests/data/spec-09-32.canonical
tests/data/spec-09-32.data
tests/data/spec-09-33.canonical
tests/data/spec-09-33.data
tests/data/spec-10-01.canonical
tests/data/spec-10-01.data
tests/data/spec-10-02.canonical
tests/data/spec-10-02.data
tests/data/spec-10-03.canonical
tests/data/spec-10-03.data
tests/data/spec-10-04.canonical
tests/data/spec-10-04.data
tests/data/spec-10-05.canonical
tests/data/spec-10-05.data
tests/data/spec-10-06.canonical
tests/data/spec-10-06.data
tests/data/spec-10-07.canonical
tests/data/spec-10-07.data
tests/data/spec-10-08.data
tests/data/spec-10-08.error
tests/data/spec-10-09.canonical
tests/data/spec-10-09.data
tests/data/spec-10-10.canonical
tests/data/spec-10-10.data
tests/data/spec-10-11.canonical
tests/data/spec-10-11.data
tests/data/spec-10-12.canonical
tests/data/spec-10-12.data
tests/data/spec-10-13.canonical
tests/data/spec-10-13.data
tests/data/spec-10-14.canonical
tests/data/spec-10-14.data
tests/data/spec-10-15.canonical
tests/data/spec-10-15.data
tests/data/str.data
tests/data/str.detect
tests/data/tags.events
tests/data/test_mark.marks
tests/data/timestamp-bugs.code
tests/data/timestamp-bugs.data
tests/data/timestamp.data
tests/data/timestamp.detect
tests/data/unacceptable-key.loader-error
tests/data/unclosed-bracket.loader-error
tests/data/unclosed-quoted-scalar.loader-error
tests/data/undefined-anchor.loader-error
tests/data/undefined-constructor.loader-error
tests/data/undefined-tag-handle.loader-error
tests/data/unknown.dumper-error
tests/data/unsupported-version.emitter-error
tests/data/utf16be.code
tests/data/utf16be.data
tests/data/utf16le.code
tests/data/utf16le.data
tests/data/utf8-implicit.code
tests/data/utf8-implicit.data
tests/data/utf8.code
tests/data/utf8.data
tests/data/value.data
tests/data/value.detect
tests/data/yaml.data
tests/data/yaml.detect
tests/data/yaml11.schema
tests/data/yaml11.schema-skip
tests/lib/canonical.py
tests/lib/test_all.py
tests/lib/test_appliance.py
tests/lib/test_build.py
tests/lib/test_build_ext.py
tests/lib/test_canonical.py
tests/lib/test_constructor.py
tests/lib/test_dump_load.py
tests/lib/test_emitter.py
tests/lib/test_errors.py
tests/lib/test_input_output.py
tests/lib/test_mark.py
tests/lib/test_multi_constructor.py
tests/lib/test_reader.py
tests/lib/test_recursive.py
tests/lib/test_representer.py
tests/lib/test_resolver.py
tests/lib/test_schema.py
tests/lib/test_sort_keys.py
tests/lib/test_structure.py
tests/lib/test_tokens.py
tests/lib/test_yaml.py
tests/lib/test_yaml_ext.py
yaml/__init__.pxd
yaml/_yaml.h
yaml/_yaml.pxd
yaml/_yaml.pyx