You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, when I turn on verbose mode, for the test case (filename='third_party/py/yaml/tests/data/spec-07-09.canonical', flow_style=False, style=''), I see as the emitted output:
I can't say anything about the different behaviour of python 2 and 3 right now, but the error you see (getting foo %YAML 1.1 instead of just foo) stems from a bug in libyaml which will be fixed with the next release. See yaml/libyaml#122
Thanks! I am curious why the behavior differs, as well as why the plain-style scalar events are emitted with quotes. Is this a special case of YAML 1.1?
I might be misunderstanding what is expected behavior, but at the very least there seems to be some inconsistency in test results described below.
When running test_emitter with python 2 using cython extension, the error I see is
Specifically, when I turn on verbose mode, for the test case
(filename='third_party/py/yaml/tests/data/spec-07-09.canonical', flow_style=False, style='')
, I see as the emitted output:In comparison, for python 3 (with or without C extensions) and for python 2 without extensions I see this output with verbose on:
So this really brings up 2 questions for me:
The text was updated successfully, but these errors were encountered: