Hello,
> https://yaml.readthedocs.io/en/latest/basicuse.html#more-examples > > from ruamel.yaml import YAML > > yaml=YAML(typ="safe", pure=True) > yaml.load(f) > > If that works, then we might be able to make a workaround to default to the > pure Python version on big endian systems. To be reverted once upstream has > a proper fix to the cpython code, of course. > > Note: ruamel.yaml is mostly a one person (Anthon van der Neut) project, so > a fix might take a while. Fans of s390x and other big endian architectures > are very welcome to develop a patch! > > https://yaml.readthedocs.io/en/latest/contributing.html > not sure if I did it right, but this code: #!/usr/bin/python3 from io import BytesIO from ruamel.yaml import YAML yaml = YAML(typ='safe', pure=True) f = BytesIO(b"""\ format: multiarch-hints-1.0 hints: - binary: coinor-libcoinmp-dev description: coinor-libcoinmp-dev conflicts on ... link: https://wiki.debian.org/MultiArch/Hints#file-conflict severity: high source: coinmp version: 1.8.3-2+b11 """) yaml.load(f) works now thanks! Gianfranco