Custom Query (132 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 132)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#26 fixed yaml.load("a: n") raises exception (problem with bool) xi zbynek.winkler@…

Reported by zbynek.winkler@…, 8 years ago.

Description

r59 claims to "Remove y/n from the boolean constants." However 'n|N' is not removed from the corresponding regexp. BTW: why was it removed? Looking at  http://yaml.org/type/bool.html one would expect it to be there.

#27 worksforme yaml.dump seems to be broken xi anonymous

Reported by anonymous, 8 years ago.

Description

I may be missing something here, but this seems to be broken:

Example that works:

>>> print yaml.dump({'name': "The Cloak 'Colluin'", 'depth': 5, 'rarity': 45, 'weight': 10, 'cost': 50000, 'flags': ['INT', 'WIS', 'SPEED', 'STEALTH']})
cost: 50000
depth: 5
flags: [INT, WIS, SPEED, STEALTH]
name: The Cloak 'Colluin'
rarity: 45
weight: 10

Portion of above example:

>>> print yaml.dump({'name': "The Cloak 'Colluin'", 'depth': 5})
{depth: 5, name: The Cloak 'Colluin'}

I would expect to get:

depth: 5
name: The Cloak 'Colluin'
#28 worksforme Incorrect handling of strings with trailing spaces xi yang

Reported by yang, 8 years ago.

Description

The following fails because the trailing space is dropped. I don't know if this is incorrect dumping (should've quoted), loading (should not have ignored the space), or even both.

s = 'abc '
assert syck.load( syck.dump(s) ) == s
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.