8e5797858f
- Update to 3.20.2 * Add a test for the min and max floats * Disable speedups on GraalPy same as on PyPy * Update changelog and version for v3.20.2
Nico Krapp2025-10-01 14:57:01 +00:00
73604bb9b7
Accepting request 1265492 from devel:languages:python
Ana Guerrero2025-04-11 14:44:42 +00:00
83060f7a97
Accepting request 1129213 from devel:languages:python
Ana Guerrero2023-11-28 21:18:46 +00:00
6c522ba9bd
- update to 3.19.2: * 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
Dirk Mueller2023-11-27 18:47:03 +00:00
25b19d4097
- update to 3.19.1: * 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
Dirk Mueller2023-05-04 20:13:18 +00:00
2d13a46a4a
- update to 3.18.1: * Remove unnecessary i variable from encoder module namespace * Declare support for Python 3.11 and add wheels
Dirk Mueller2023-01-04 18:46:52 +00:00
493c9ac8c8
- update to 3.17.5: * 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).
Dirk Mueller2021-09-07 06:56:11 +00:00
2b9b5bdb76
- update to 3.8.2: * 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/118Dirk Mueller2016-11-18 22:43:22 +00:00
434b46cbd0
Accepting request 132595 from devel:languages:python
Stephan Kulow
2012-09-06 07:03:15 +00:00
f3ef9e08a9
Accepting request 132438 from home:poorboywilly:branches:devel:languages:python
Todd R
2012-09-05 07:51:51 +00:00
1b552dc62a
Accepting request 122374 from devel:languages:python
Stephan Kulow
2012-05-29 09:44:37 +00:00
82de61a048
Accepting request 122373 from home:TheBlackCat:branches:devel:languages:python
Todd R
2012-05-25 12:27:56 +00:00
2fb735dd90
Accepting request 109038 from devel:languages:python
Stephan Kulow
2012-03-13 08:39:09 +00:00
e48f66ce7c
- Update to version 2.4.0: * New bigint_as_string option for encoder to trade JavaScript number precision issues for type issues. - Run testsuite - Package README.rst, CHANGES.txt and LICENSE.txt
Sascha Peilicke
2012-03-12 21:17:02 +00:00
fb4def3716
- Re-add python-distribute, you can't simply remove that, it breaks RPM updates
Sascha Peilicke
2011-09-20 14:23:22 +00:00
10854928ae
- Update to 2.2.1: * Fix MANIFEST.in issue when building a sdist from a sdist. https://github.com/simplejson/simplejson/issues/16 - Aditional changes from version 2.2.0: * Remove setuptools requirement, reverted to pure distutils * use_decimal default for encoding (dump, dumps, JSONEncoder) is now True * tuple encoding as JSON objects can be turned off with new tuple_as_array=False option. https://github.com/simplejson/simplejson/pull/6 * namedtuple (or other tuple subclasses with _asdict methods) are now encoded as JSON objects rather than arrays by default. Can be disabled and treated as a tuple with the new namedtuple_as_object=False option. https://github.com/simplejson/simplejson/pull/6 * JSONDecodeError is now raised instead of ValueError when a document ends with an opening quote and the C speedups are in use. https://github.com/simplejson/simplejson/issues/15 * Updated documentation with information about JSONDecodeError * Force unicode linebreak characters to be escaped (U+2028 and U+2029) http://timelessrepo.com/json-isnt-a-javascript-subset * Moved documentation from a git submodule to http://simplejson.readthedocs.org/
Alexandre Rogoski
2011-09-06 22:13:40 +00:00
efe77ded41
Updating link to change in openSUSE:Factory/python-simplejson revision 11.0
OBS User buildservice-autocommit
2011-07-19 13:05:28 +00:00
4b16bfb326
Accepting request 74905 from devel:languages:python
Marcus Rueckert2011-07-19 13:05:06 +00:00
b2d93ab269
- Update to 2.1.6: * Prevent segfaults with deeply nested JSON documents https://github.com/simplejson/simplejson/issues/11 * Fix compatibility with Python 2.5 https://github.com/simplejson/simplejson/issues/5 - Aditional changes from 2.1.5 released 2011-04-17: * Built sdist tarball with setuptools_git installed. Argh. - Aditional changes from 2.1.4 released 2011-04-17: * Does not try to build the extension when using PyPy * Trailing whitespace after commas no longer emitted when indent is used * Migrated to github http://github.com/simplejson/simplejson - Regenerate spec file with py2pack.
Alexandre Rogoski
2011-05-09 03:32:26 +00:00
2ba885bb82
Updating link to change in openSUSE:Factory/python-simplejson revision 9.0
OBS User buildservice-autocommit
2011-03-08 10:06:35 +00:00
eb00f14f7d
Autobuild autoformatter for 63286
Berthold Gunreben
2011-03-08 10:06:35 +00:00