* Updated test & build matrix to include Python 3.12
more strict, by default simplejson will now only consume
- Update to v3.18.0
adding wheels for Python 3.9.
* Fix implicit cast compiler warning in _speedups.c
* simplejson is now available as wheels for OS X and Windows thanks to Travis-CI
and AppVeyor respectively! Many thanks to @aebrahim for getting this party
started.
* Fix issue with iterable_as_array and indent option
* Fix typo in keyword argument name introduced in 3.8.0
* New iterable_as_array encoder option to perform lazy serialization of
any iterable objects, without having to convert to tuple or list.
* Fix typo introduced in 3.7.0 (behavior should be indistinguishable)
e18cc09b68 (commitcomment-11443842)
* Do not cache Decimal class in encoder, only reference the decimal module.
This may make reload work in more common scenarios.
* Fix compilation with MSVC
https://github.com/simplejson/simplejson/pull/119
* simplejson no longer trusts custom str/repr methods for int, long, float
subclasses. These instances are now formatted as if they were exact
instances of those types.
https://github.com/simplejson/simplejson/issues/118https://github.com/simplejson/simplejson/issues/62
* New item_sort_key option for encoder to allow fine grained
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=98
* 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.
* 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)
* Test the sdist to prevent future regressions
* Fix regression in sdist archive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=96
* Fix the C extension module to harden is_namedtuple against looks-a-likes such
as Mocks. Also prevent dict encoding from causing an unraised SystemError when
encountering a non-Dict. Noticed by running user tests against a CPython
interpreter with C asserts enabled (COPTS += -UNDEBUG).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=88
- update to 3.11.1:
* Fix issue with item_sort_key when speedups are available, and add
auto-discovery to test suites to prevent similar regressions
* docstring fix in JSONEncoder
* Call PyObject_IsTrue() only once for the strict argument of scann er
* Fix a crash with unencodable encoding in the encoder
* Remove unused imports
* Remove remnants of Python 2.4 support
* Fix argument checking errors in _speedups.c
* Remove the `__init__` methods in extension classes
* Fix typo in the doc for loads
* Add Python 3.6 to testing matrix and PyPI metadata
OBS-URL: https://build.opensuse.org/request/show/515232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=67
* Fix implicit cast compiler warning in _speedups.c
* simplejson is now available as wheels for OS X and Windows thanks to Travis-CI
and AppVeyor respectively! Many thanks to @aebrahim for getting this party
started.
* Fix issue with iterable_as_array and indent option
* Fix typo in keyword argument name introduced in 3.8.0
* New iterable_as_array encoder option to perform lazy serialization of
any iterable objects, without having to convert to tuple or list.
* Fix typo introduced in 3.7.0 (behavior should be indistinguishable)
e18cc09b68 (commitcomment-11443842)
* Do not cache Decimal class in encoder, only reference the decimal module.
This may make reload work in more common scenarios.
* Fix compilation with MSVC
https://github.com/simplejson/simplejson/pull/119
* simplejson no longer trusts custom str/repr methods for int, long, float
subclasses. These instances are now formatted as if they were exact
instances of those types.
https://github.com/simplejson/simplejson/issues/118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=61