Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>The literals off, no, and n, in various capitalizations (but not any capitalization!), are all false in yaml 1.1, while on, yes, and y are true.

Fyi... I looked at PyYAML source code and the parser code omitted single-character 'y' in the regex. Previous comment: https://news.ycombinator.com/item?id=26681295



> omitted the single character options of 'y' and 'Y' but it still has 'n' and 'N'

'n'/'N' were removed already in 2006:

https://github.com/yaml/pyyaml/commit/8f9b8bed40a53c28




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: