Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (106 - 108 of 121)

Ticket Resolution Summary Owner Reporter
#69 invalid scalar value of escaped double-newline parsed as a single newline xi anonymous

Reported by anonymous, 6 years ago.

Description

When parsing the following: terminator : "\n\n"

The value of the right side scalar is returned as \n, rather than \n\n. Likewise, four newlines ("\n\n\n\n") is parsed as three ("\n\n\n").

#93 fixed setup.py install --record-rpm lists _yaml.so even if not build xi werner.ho@…

Reported by werner.ho@…, 5 years ago.

Description

pyyaml version 3.06. the bug wasn't there in 3.05

I'm installing pyyaml with the following command to create an rpm package:

python setup.py install --prefix=%{_prefix} \
		--root=$RPM_BUILD_ROOT \
		--record-rpm=INSTALLED_FILES

Inside the file INSTALLED_FILES the _yaml.so file is listed even if that file is not installed.

/usr/lib64/python2.5/site-packages/yaml/resolver.pyc
/usr/lib64/python2.5/site-packages/yaml/scanner.pyc
/usr/lib64/python2.5/site-packages/_yaml.so
/usr/lib64/python2.5/site-packages/PyYAML-3.06-py2.5.egg-info
%dir /usr/lib64/python2.5/site-packages/yaml

Workaround: Either remove that line from the file before packaging or just do not use the file listing.

Regards Werner

#81 worksforme syck.dump is broken xi anonymous

Reported by anonymous, 5 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.

Note: See TracQuery for help on using queries.