Custom Query (121 matches)
Results (13 - 15 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #15 | fixed | pyyaml discards '-' sign on negative floats | xi | alex_(a)_alexmole_(o)_co_(o)_uk |
| Description |
yaml.load( 'foo: -3.1' ) returns {'foo': 3.10000} The same technique preserves the sign of integers though, so I presume it must be a bug rather than a yaml feature. |
|||
| #1 | fixed | Can't make SVN checkout... | xi | anonymous |
| Description |
I use the SVN URL http://svn.pyyaml.org/pyyaml/trunk (from the Wikipage http://pyyaml.org/wiki/PyYAML ) But i can't export or checkout: PROPFIND Error, 403 Forbidden ;( |
|||
| #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 .... |
|||
