Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#120 fixed typo in yaml.__init__.py xi py4fun@…

Reported by py4fun@…, 6 years ago.

Description
line 46 in  yaml.__init__.py contains a typo: "corresponSing" instead of "corresponDing"
#116 fixed the order of keys is important xi Andrey Somov <py4fun@…>

Reported by Andrey Somov <py4fun@…>, 6 years ago.

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.

#35 worksforme test program crashes on test file with multiple documents xi roel _ dot _ vanhout _ at _ gmail _ dot _ com

Reported by roel _ dot _ vanhout _ at _ gmail _ dot _ com, 8 years ago.

Description

The run-parser.c test file crashes on the following test document: ============START================

---
- Harry Potter and the Prisoner of Azkaban
- Harry Potter and the Goblet of Fire
- Harry Potter and the Order of the Phoenix
---
- Memoirs Found in a Bathtub
- Snow Crash
- Ghost World

=============END=================

Crash in is api.c, line 604 of the release tarball:

case YAML_SCALAR_TOKEN:

==> yaml_free(token->data.scalar.value);

break;

When I comment out the second document of the test file (from the second '---' on down), it runs fine.

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