./converters/py-simplejson, Simple, fast, complete and extensible JSON encoder/decoder

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.19.2, Package name: py311-simplejson-3.19.2, Maintainer: pkgsrc-users

simplejson is a simple, fast, extensible JSON encoder/decoder for Python

simplejson is compatible with Python 2.3 and later with no external
dependencies. It covers the full JSON specification for both encoding and
decoding, with unicode support. By default, encoding is done in an encoding
neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).

The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).

The decoder can handle incoming JSON strings of any specified encoding
(UTF-8 by default).


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 83.312 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-07 22:10:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.19.2

Version 3.19.2 released 2023-10-05

* Updated test & build matrix to include Python 3.12 and use
  GitHub Actions as a Trusted Publisher (OIDC)
   2023-04-07 06:30:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: update to 3.19.1

Version 3.19.1 released 2023-04-06

* This release contains security hardening measures based on recommendations
  by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
  Several of these measures include changing defaults to be more strict,
  by default simplejson will now only consume and produce compliant JSON,
  but the flags still exist for any backwards compatibility needs.
  No high priority issues were discovered, the reference count
  leak is thought to be unreachable since the digits of the float are
  checked before PyOS_string_to_double is called.
  A link to the public version of this report will be included in a
  future release of simplejson. The following fixes were implemented in
  one PR: https://github.com/simplejson/simplejson/pull/313
* Fix invalid handling of unicode escape sequences in the pure Python
  implementation of the decoder (SJ-PT-23-01)
* Fix missing reference count decrease if PyOS_string_to_double raises
  an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
* Backport the integer string length limitation from Python 3.11 to
  limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and Python
  implementations (SJ-PT-23-100)
* Remove unused unichr import from encoder (SJ-PT-23-101)
* Remove unused namedtuple_as_object and tuple_as_array arguments from
  simplejson.load (SJ-PT-23-102)
* Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
* Change default of allow_nan from True to False and add allow_nan
  to decoder (SJ-PT-23-107)
   2023-03-15 14:00:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.18.4

Version 3.18.4 released 2023-03-14

* Test the sdist to prevent future regressions
  https://github.com/simplejson/simplejson/pull/311
* Enable ppc64le wheels
  https://github.com/simplejson/simplejson/pull/312
   2023-01-04 11:42:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.18.1

Version 3.18.1 released 2023-01-03

* Remove unnecessary `i` variable from encoder module namespace
* Declare support for Python 3.11 and add wheels
   2022-11-15 06:34:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.18.0

Version 3.18.0 released 2022-11-14

* Allow serialization of classes that implement for_json or _asdict by
  ignoring TypeError when those methods are called
* Raise JSONDecodeError instead of ValueError in invalid unicode escape
  sequence edge case
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-11-17 09:38:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-simplejson: updated to 3.17.6

Version 3.17.6
* Declare support for Python 3.10 and add wheels
   2021-10-26 12:06:54 by Nia Alarie | Files touched by this commit (150)
Log message:
converters: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes