Custom Query (121 matches)
Results (4 - 6 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #118 | fixed | Strange case where yaml.load should error but actually loads | xi | xi |
| Description |
>>> yaml.load('-\n-3')
[-3]
Adding a newline actually does produce the desired error: >>> yaml.load('-\n-3\n')
...
yaml.scanner.ScannerError: while scanning a simple key
in "<string>", line 2, column 1:
-3
^
could not found expected ':'
in "<string>", line 3, column 1:
^
|
|||
| #93 | fixed | setup.py install --record-rpm lists _yaml.so even if not build | xi | werner.ho@… |
| 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 |
|||
| #41 | fixed | Patch: Use types module instead of hand crafted entities and type(). | xi | v.haisman@… |
| Description |
Hi, I have a patch that makes PyYAML use types module instead of hand crafted entities and type(). The motivation is that it silences some PyDev? error complains, like methods not having self parameter and such. |
|||
Note: See TracQuery
for help on using queries.
