pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/converters/py-simplejson

Module Name:    pkgsrc
Committed By:   obache
Date:           Thu Jul  8 12:15:39 UTC 2010

Modified Files:
        pkgsrc/converters/py-simplejson: Makefile PLIST distinfo

Log Message:
Update py-simplejson to 2.1.1.
Based on PR#43447 by Wen Heping.
While here, set LICENSE=mit with some cosmetic fixes.

Version 2.1.1 released 2010-03-31

* Change how imports to try and workaround old versions
  of setuptools.
* Fix compilation on Windows platform (and other platforms with very
  picky compilers)
* Corrected simplejson.__version__ and other minor doc changes.
* Do not fail speedups tests if speedups could not be built.

Version 2.1.0 released 2010-03-10

* Decimal serialization officially supported for encoding with
  use_decimal=True. For encoding this encodes Decimal objects and
  for decoding it implies parse_float=Decimal
* Python 2.4 no longer supported (may still work, but no longer tested)
* Decoding performance and memory utilization enhancements
* JSONEncoderForHTML class for escaping &, <, >
* Memoization of object keys during encoding (when using speedups)
* Encoder changed to use PyIter_Next for list iteration to avoid
  potential threading issues
* Encoder changed to use iteritems rather than PyDict_Next in order to
  support dict subclasses that have a well defined ordering
* indent encoding parameter changed to be a string rather than an integer
  (integer use still supported for backwards compatibility)
* Test suite (python test) now automatically runs with and without
* Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
* Fixed str/unicode mismatches when using ensure_ascii=False
* Fixed error message when parsing an array with trailing comma with speedups
* Refactor decoder errors to raise JSONDecodeError instead of ValueError
* New ordered_pairs_hook feature in decoder which makes it possible to
  preserve key order.
* Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
* Share PosInf definition between encoder and decoder
* Minor reformatting to make it easier to backport simplejson changes
  to Python 2.7/3.1 json module

To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/converters/py-simplejson/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/converters/py-simplejson/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/converters/py-simplejson/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index