Modify

Ticket #122 (closed defect: wontfix)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by xi

  • Status changed from new to closed
  • Resolution set to wontfix

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.