Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#77 worksforme libyaml 0.1.1 segmentation faults. xi anonymous

Reported by anonymous, 6 years ago.

Description

python 2.5.2

import yaml
from yaml import CDumper
d = {'x' : []}

yaml.dump(d, Dumper=CDumper)

This uses http://pyyaml.org/download/libyaml/yaml-0.1.1.tar.gz

#81 worksforme syck.dump is broken xi anonymous

Reported by anonymous, 6 years ago.

Description

syck.dump fails on even simple mappings:

>>> import syck
>>> doc = '''
... a: 1
... b: 2
... c: 3
... '''
>>> syck.load(doc)
{'a': 1, 'c': 3, 'b': 2}
>>> syck.dump(syck.load(doc))
'--- {}\n\n'
>>>

This is PySyck 0.61.2.

$ python --version
Python 2.5.2
$ uname -a
Linux brainsplit 2.6.24 #2 SMP Thu May 1 13:57:17 UTC 2008 x86_64 GNU/Linux
$ 

Cheers.

#82 worksforme PyYAML raises exception on empty files xi Miki Tebeka <miki.tebeka@…>

Reported by Miki Tebeka <miki.tebeka@…>, 6 years ago.

Description
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> fo = open("/dev/null")
>>> import yaml
>>> yaml.load(fo)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/yaml/__init__.py", line 66, in load
    return loader.get_data()
  File "/usr/lib/python2.5/site-packages/yaml/constructor.py", line 38, in get_data
    return self.construct_document(self.get_node())
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 23, in get_node
    return self.compose_document()
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 35, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python2.5/site-packages/yaml/composer.py", line 52, in compose_node
    anchor = event.anchor
AttributeError: 'NoneType' object has no attribute 'anchor'
>>> 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.