Custom Query (121 matches)
Results (22 - 24 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #26 | fixed | yaml.load("a: n") raises exception (problem with bool) | xi | zbynek.winkler@… |
| 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 |
| 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 |
| 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 |
|||
Note: See TracQuery
for help on using queries.
