Custom Query (121 matches)
Results (4 - 6 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5 | fixed | PYYAML3000 does not load recursive structures. | xi | pkmurphy@… |
| Description |
PYYAML does not load any structure with an anchor that contains its own alias. For example: ourconst2 = "---\n!!seq &base [ *base ] \n...\n"; print ourconst2; for event in yaml.parse(ourconst2): print event ourload = yaml.safe_load(ourconst2) print ourload; |
|||
| #6 | fixed | pyyaml 3000 is not in the Python cheese shop | xi | dholth@… |
| Description |
Also consider this word of wisdom from PEP 8: "Modules should have short, lowercase names, without underscores." Thanks! |
|||
| #7 | fixed | doubles represented as .nan | xi | anonymous |
| Description |
in python2.3.5: yaml.dump(10.24) will provide .nan the source of it lay in the python 2.3 .nan handling, it is equal to any float: inf_value = 1e300000 nan = inf_value/inf_value nan == 5.6 and nan = 5006.78 --> True after i did change a line in representer.py from: elif data == self.nan_value or data != data: to: elif str(data) == str(self.nan_value) or data != data: yaml.dump -- provide correct handling of floats. thanks .... |
|||
