Custom Query (132 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 132)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#184 invalid Invalid sequence handling xi nick.demyanchuk@…

Reported by nick.demyanchuk@…, 3 years ago.

Description

Pyyaml improperly dumps sequence block. For example:

>>> from yaml import load, dump

>>> cfg = """key:
              - value
              - another one
              - foo
          """

>>> yaml_dict = load(cfg)

>>> print yaml_dict
{'key': ['value', 'another one', 'foo']}

>>> new_cfg = dump(yaml_dict)

>>> print new_cfg
key: [value, another one, foo]
#183 invalid Simple event generated code fails with MemoryError while around 100 bytes yaml is expected as output xi matkor

Reported by matkor, 3 years ago.

Description

Attached code fails with:

Saving to file: 'test.yaml' Traceback (most recent call last):

File "yaml_test.py", line 40, in <module>

dump_dict(dumper, {"intro":"intro_value", "desc": "long description", "multiline": "line 1\nline2\nline3\n", "binary": binarydata })

File "yaml_test.py", line 15, in dump_dict

dumper.emit( events.ScalarEvent?(anchor=None, tag=None, implicit=(True, False), value=v) )

File "_yaml.pyx", line 1231, in _yaml.CEmitter.emit (ext/_yaml.c:14052) File "_yaml.pyx", line 1153, in _yaml.CEmitter._object_to_event (ext/_yaml.c:13123)

MemoryError?

#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,

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.