Modify ↓
Ticket #122 (closed defect: wontfix)
Bool tag doesn't accept all defined variants
| Reported by: | anonymous | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
One of the examples listed at http://yaml.org/type/bool.html will fail:
>>> yaml.load('!!bool y')
Traceback (most recent call last):
...
KeyError: u'y'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

The type description at http://yaml.org/type/bool.html is obsolete. Having 'y' as a boolean value is really a bad idea since it is often used in other contexts (for instance, as a coordinate). Syck does not support it, neither will PyYAML.