aldpuzz

Results 4 comments of aldpuzz

I digged a bit into this issue and found that it's this block which causes the problem in `print(yaml.dump(True, explicit_start =False, explicit_end=False))` case. yaml/emitter.py: ``` elif isinstance(self.event, StreamEndEvent): if self.open_ended:...

> It has been explained in #379 that the current behaviour is necessary because of the YAML 1.1 spec. I can't see it is necessary because of the spec. I...

What I read from the spec: > To support this scenario, a YAML [document](https://yaml.org/spec/1.1/#document/syntax) **may** be terminated by an explicit end line denoted by “...”, followed by optional [comments](https://yaml.org/spec/1.1/#comment/syntax). To...

I don't know if this is rare. I came across this because I'm using https://github.com/null-none/django-yaml-field. It's just one out of hundreds use cases where pyyaml could be helpful - some...