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

#7 fixed doubles represented as .nan xi anonymous

Reported by anonymous, 9 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 ....

#13 fixed Windows install broken xi anonymous

Reported by anonymous, 9 years ago.

Description

None of the source files install except the EGG-INFO directory.

C:\>easy_install -Z PyYAML
Searching for PyYAML
Reading http://www.python.org/pypi/PyYAML/
Reading http://pyyaml.org/wiki/PyYAML
Best match: PyYAML 3.01
Downloading http://pyyaml.org/download/pyyaml/PyYAML-3.01.win32.exe
Processing PyYAML-3.01.win32.exe
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/resolver.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/parser.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/scanner.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/error.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/composer.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/loader.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/events.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/dumper.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/tokens.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/serializer.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/constructor.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/representer.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/__init__.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/nodes.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/reader.py
WARNING: can't process home/xi/lib/python2.4/site-packages/yaml/emitter.py
creating 'c:\docume~1\user\locals~1\temp\easy_install-wfs0iv\PyYAML-3.01-py2.4-w
in32.egg' and adding 'c:\docume~1\user\locals~1\temp\easy_install-wfs0iv\PyYAML-
3.01-py2.4-win32.egg.tmp' to it
creating c:\python24\lib\site-packages\PyYAML-3.01-py2.4-win32.egg
Extracting PyYAML-3.01-py2.4-win32.egg to c:\python24\lib\site-packages
Adding PyYAML 3.01 to easy-install.pth file

Installed c:\python24\lib\site-packages\pyyaml-3.01-py2.4-win32.egg
Processing dependencies for PyYAML

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