New submission from Sebastian Billaudelle <st...@cream-project.org>:
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.10000000000000001]' Very simple to reproduce;) - Sebastian ---------- components: Library (Lib) messages: 84323 nosy: stein severity: normal status: open title: Wrong dump of floats type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5589> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com