Custom Query (132 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 132)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Resolution Summary Owner Reporter
#79 wontfix Multiple scalar values used as key creates Python hash error xi clay@…

Reported by clay@…, 6 years ago.

Description

The YAML specification suggests that a mapping can have a key made of more than one item, as in

? - Detroit Tigers
  - Chicago cubs
:
  - 2001-07-23

However, when that data is imported via yaml.load(), PyYAML exits with a yaml.constructor.ConstructorError?, saying "found unacceptable key (list objects are unhashable)"

Is there a way to force multi-value keys to be processed as tuples instead of lists?

#134 invalid Nested lists seems to be "dumped" incorrectly xi maksims.juvcenko@…

Reported by maksims.juvcenko@…, 5 years ago.

Description

Problem occurs, when nested list is dumped.

>>> s = {"a": ['aaa','bbb','ccc']}
>>> print yaml.dump(s, default_flow_style=False)
a:
- aaa
- bbb
- ccc

According to specification of YAML 1.1 nested sequence items must have entry token equal to " -" (two spaces and minus symbol), but in reality it lacks entry spaces. This issue creates limitations, when YAML documents are passed between PyYAML and JYaml interpreters.

Configuration:

  • PyYAML version: PyYAML 3.08
  • Python version: 2.5.2
#181 fixed No symbols exported from yaml.dll xi pxn11432@…

Reported by pxn11432@…, 3 years ago.

Description

yaml.dll built in vs2008 doesn't export any symbols.

It has been corrected by declaring WIN32 pre-processor macro in yamldll.vcproj project.

Regards,

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.