Custom Query (121 matches)
Results (52 - 54 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #134 | invalid | Nested lists seems to be "dumped" incorrectly | xi | maksims.juvcenko@… |
| Description |
Problem occurs, when nested list is dumped. >>> s = {"a": ['aaa','bbb','ccc']}
>>> print yaml.dump(s, default_flow_style=False)
a:
- aaa
- bbb
- ccc
According to specification of YAML 1.1 nested sequence items must have entry token equal to " -" (two spaces and minus symbol), but in reality it lacks entry spaces. This issue creates limitations, when YAML documents are passed between PyYAML and JYaml interpreters. Configuration:
|
|||
| #25 | fixed | Constructor and representer for datetimes with timezone do not match | xi | lele@… |
| Description |
I noticed what seems a little glitch in PyYAML handling of datetime when they carry a timezone. The regexp used to match the various fields assumes there is a separator between the fractional part and the timezone offset, while the representer simply appends the offset without any separator, effectively resulting in a wrong representation (in the case the offset is positive). Moreover, unicode(data.utcoffset()) gives something like "-1 day, 22:00" for an offset of -2 hours. |
|||
| #64 | fixed | yaml.dump and indentation: | xi | lal.george@… |
| Description |
In python, when I have : y = {'x' : 3, z : [{'val' : 3}, {'val' : 4}]} yaml.dump(y, default_flow_style=False) The result is: 'x: 3\nz:\n- val: 3\n- val: 4\n' I believe there should be a space before each hypen. Best,
|
|||
