Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#24 worksforme dictionaries without at least one list element as values seem not to work xi anonymous

Reported by anonymous, 8 years ago.

Description
>>> print yaml.dump({'name': 'Silenthand Olleander', 'race': 'Human', 'traits': 1})
{traits: 1, race: Human, name: Silenthand Olleander}
>>> print yaml.dump({'name': 'Silenthand Olleander', 'race': 'Human', 'traits': [1,2]})

traits: [1, 2]
race: Human
name: Silenthand Olleander

it seems without a list as at least one value element in dict the dump is not working properly

#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'
#52 fixed importing gtk breaks unicode loading xi anonymous

Reported by anonymous, 8 years ago.

Description

The following summarizes it pretty well, I guess:

>>> import yaml
>>> u = u"\N{skull and crossbones}"
>>> yaml.load(yaml.dump(u))
u'\u2620'
>>> import gtk
>>> yaml.load(yaml.dump(u))
'\xe2\x98\xa0'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.