Tina Müller (tinita)

Results 261 comments of Tina Müller (tinita)

> I had to go on a time traveling scavenger hunt to understand the current reason why PyYAML is still throwing the error of `could not determine a constructor for...

Just for completeness, the following YAML processors will fail to parse it without the space: Javascript yaml, C libfyaml, C++ yaml-cpp, Python ruamel.yaml, Nim NimYAML, Javascript js-yaml, Haskell HsYAML (which...

Additional question: Is is possible to make yamllint ignore this line in our source? ``` *foo : # yamllint disable-line rule:max-spaces-before ``` didn't make a difference Edit: ok, this works:...

Thanks, I think your first suggestion makes sense. As you said, aliases as keys are rare :) Edit: It would be useful though, to actually enforce a space after the...

One thing which is not clear from the example is an important design question: The current PR looks into the instance based constructors (if it is an instance), and if...

> Good point but your instance needs to at least copy over the default class constructors. of course. > iow, integers still need to work. integers?

you could use the BaseLoader. That loads everything as a string. Would that work for you? `yaml.load(..., Loader=yaml.BaseLoader)`

I agree that trailing spaces shouldn't be a reason to disallow block scalars. Can't say what changes are needed to allow this, though. If we could integrate https://github.com/yaml/yaml-test-suite and check...

@ingydotnet I agree loss of information is not an option. For literal `|` block style it's easy to imagine use cases IMHO. If you have text data in a specific...

btw, trailing spaces in folded block are not always folded, for example if an empty line follows: ``` foo: > some words___ more words ```