Custom Query (121 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 121)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#15 fixed pyyaml discards '-' sign on negative floats xi alex_(a)_alexmole_(o)_co_(o)_uk

Reported by alex_(a)_alexmole_(o)_co_(o)_uk, 7 years ago.

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

Reported by anonymous, 7 years ago.

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

Reported by anonymous, 7 years ago.

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 ....

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