[issue5589] Wrong dump of floats

2009-03-28 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue5589] Wrong dump of floats

2009-03-28 Thread R. David Murray
R. David Murray added the comment: As Ezio points out, this is correct Python behavior. -- components: +Interpreter Core -Library (Lib) nosy: +bitdancer resolution: -> invalid stage: -> committed/rejected ___ Python tracker

[issue5589] Wrong dump of floats

2009-03-28 Thread Ezio Melotti
Ezio Melotti added the comment: >>> .1 0.10001 Read http://docs.python.org/tutorial/floatingpoint.html -- nosy: +ezio.melotti ___ Python tracker ___

[issue5589] Wrong dump of floats

2009-03-28 Thread Sebastian Billaudelle
New submission from Sebastian Billaudelle : Hi there, I just recognized a weird behaviour of the json module... Dumpig a float like 0.1 I get some crazy output. Here is an example: >>> import json >>> json.dumps([.1]) '[0.10001]' Very simple to reproduce;) - Sebastian -