Revision: 4463 Author: huji Date: 2007-10-17 19:27:12 +0000 (Wed, 17 Oct 2007)
Log Message: ----------- Updating simplejson to 1.7.3
Modified Paths: -------------- trunk/pywikipedia/simplejson/__init__.py trunk/pywikipedia/simplejson/encoder.py
Modified: trunk/pywikipedia/simplejson/__init__.py =================================================================== --- trunk/pywikipedia/simplejson/__init__.py 2007-10-17 14:55:24 UTC (rev 4462) +++ trunk/pywikipedia/simplejson/__init__.py 2007-10-17 19:27:12 UTC (rev 4463) @@ -86,7 +86,7 @@ Note that the JSON produced by this module's default settings is a subset of YAML, so it may be used as a serializer for that as well. """ -__version__ = '1.7.1' +__version__ = '1.7.3' __all__ = [ 'dump', 'dumps', 'load', 'loads', 'JSONDecoder', 'JSONEncoder',
Modified: trunk/pywikipedia/simplejson/encoder.py =================================================================== --- trunk/pywikipedia/simplejson/encoder.py 2007-10-17 14:55:24 UTC (rev 4462) +++ trunk/pywikipedia/simplejson/encoder.py 2007-10-17 19:27:12 UTC (rev 4463) @@ -37,7 +37,7 @@ elif o == -INFINITY: text = '-Infinity' else: - return str(o) + return repr(o)
if not allow_nan: raise ValueError("Out of range float values are not JSON compliant: %r"