Custom Query (121 matches)
Results (1 - 3 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #47 | duplicate | Cannot compile under gcc version 3.3.5 | xi | 4rek at poczta onet pl |
| Description |
gcc version 3.3.5 (Debian 1:3.3.5-13) Compiler does not recognize '-Wno-pointer-sign' flags please remove:
from tests/Makefile.am |
|||
| #116 | fixed | the order of keys is important | xi | Andrey Somov <py4fun@…> |
| Description |
When PyYAML is run on alternative VM (jython for instance) the order of the dictionary keys may be different. Unfortunately PyYAML relies on the order in some cases. The attached patches show that tests fail only when the sequence of the keys is reversed. These cases were found under Java 5. (for Java 6 the order is the same as for CPython). To avoid unexpected bugs in future it would be safe to change the implementation to use a kind of an ordered dictionary.(or to respect the order in some other way). There is no guarantee the list is complete. This is just a coincidence it was found. |
|||
| #236 | invalid | PyYAML strips \n in the end of documents | xi | Matěj Cepl <mcepl@…> |
| Description |
When running the attached script the test fails: mitmanek:yamlish (master) $ python failing_test.py
F
======================================================================
FAIL: test_file_output (__main__.TestOuptut)
----------------------------------------------------------------------
Traceback (most recent call last):
File "failing_test.py", line 52, in test_file_output
""" % (self._expected, got))
AssertionError: Result matches
expected = {'bill-to': {'address': {'lines': '458 Walkman Dr. Suite #292 '}}, 'comments': 'Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338'}
observed = {'bill-to': {'address': {'lines': '458 Walkman Dr.\nSuite #292\n'}}, 'comments': 'Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338\n'}
----------------------------------------------------------------------
Ran 1 test in 0.006s
FAILED (failures=1)
mitmanek:yamlish (master) $
|
|||
