Re: [Re-send #1] Bug in pyyaml regarding representers and multi-line strings
flyx <[email protected]> Wed, 02 Aug 2017 14:33:32 +0200
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
You may want to report this bug to the official bugtracker on GitHub:
https://github.com/yaml/pyyaml/issues
Since PyYAML is not very actively maintained, you may also want to check
if ruamel (a PyYAML fork) fits your needs:
https://yaml.readthedocs.io/en/latest/overview.html
Cheers,
Felix
On 2017-07-31 01:10, Stuart Longland wrote:
> [Re-send #1, as I've received 0 replies either privately or via the
> mailing list. The problem persists.]
>
> Hi all,
>
> I've been scratching my head over this… I have some code that
> represents
> multi-line strings as literal scalars in YAML (as IMO, they should be,
> for readability).
>
> If the string contains plain ASCII characters, all is well. If
> however,
> it contains some Unicode characters (in my case, it was "CO₂")… all
> hell
> breaks loose and I wind up with a perfectly "valid", but completely
> unreadable mess.
>
> Attached is a script that reproduces the bug in both Python 2.7 and 3.4
> with pyyaml-3.12.
>
> Apologies if this is not the right place. I tried logging in to the
> Trac system on the pyyaml website, but there's no register link
> anywhere
> and it won't accept Username: Anonymous, password: [email protected]
> either, nor could I see any detail on how to register, or how to add a
> ticket without logging in.
>
> On the http://pyyaml.org front page, it says:
>> YAML mailling list
>>
>> There is no specific PyYAML mailling list, there is a general yaml
>> mailling list on sourceforge.
> and that led me here. If there's a more appropriate place other than
> /dev/null, I'm all ears.
>
> Regards,
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Yaml-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/yaml-core
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core