lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

NaN/Infinity values not serialized to JSON properly #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When a NaN value is dumped to JSON, couchdb doens't understand it and throws an 
error.

I think that in all dumps calls the "allow_nan" option should be passed and set 
to False. 

Original issue reported on code.google.com by moostrax...@gmail.com on 3 Nov 2008 at 10:55

GoogleCodeExporter commented 8 years ago
Suggestion implemented in r118. Thanks!

Original comment by cmlenz on 5 Nov 2008 at 4:29

GoogleCodeExporter commented 8 years ago
This issue was closed by revision fcf57e67c8.

Original comment by djc.ochtman on 3 Dec 2009 at 9:51