Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a compile error on 2.x. Closes #193.speedups-compile-error-2.7 | Serhiy Storchaka | 2017-11-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #191 from simplejson/type-error-messages | Bob Ippolito | 2017-11-23 | 1 | -1/+3 |
|\ | | | | | Make TypeError messages contain type name instead of a repr. | ||||
| * | Make TypeError messages contain type name instead of a repr. | Serhiy Storchaka | 2017-11-10 | 1 | -1/+3 |
| | | | | | | | | | | | | The failure depends on the type, not on the value of an object. This combines CPython's issues 26623 and 24641. | ||||
* | | Merge pull request #188 from simplejson/bpo-31505 | Bob Ippolito | 2017-11-20 | 1 | -3/+18 |
|\ \ | |/ |/| | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() received a bad encoder() argument. | ||||
| * | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() ↵ | Serhiy Storchaka | 2017-11-06 | 1 | -3/+18 |
| | | | | | | | | | | | | received a bad encoder() argument. Original patch by Oren Milman. | ||||
* | | bpo-31095: fix potential crash during GC (#187) | Serhiy Storchaka | 2017-11-06 | 1 | -2/+4 |
| | | | | | | Original patch by INADA Naoki. | ||||
* | | Fix a reference leak when sort keys. (#186) | Serhiy Storchaka | 2017-11-06 | 1 | -2/+5 |
|/ | |||||
* | Fix #184 threaded import issue, prep v3.12.0v3.12.0 | Bob Ippolito | 2017-11-05 | 1 | -21/+21 |
| | |||||
* | Fix #173 with item_sort_key and add auto-discovery to test suite | Bob Ippolito | 2017-06-19 | 1 | -11/+11 |
| | |||||
* | Merge pull request #170 from simplejson/strict-to-bool | Bob Ippolito | 2017-06-08 | 1 | -24/+14 |
|\ | | | | | Call PyObject_IsTrue() only once for the strict argument of scanner. | ||||
| * | Call PyObject_IsTrue() only once for the strict argument of scanner.strict-to-bool | Serhiy Storchaka | 2017-05-21 | 1 | -24/+14 |
| | | |||||
* | | Fix a crash wish unencodable encoding in the encoder.unencodable-encoder-encoding | Serhiy Storchaka | 2017-05-21 | 1 | -1/+6 |
|/ | | | | | JSONEncoder.encode() crashed in Python 3 when encoded bytes keys if the encoding was not encodable to utf-8 (contained surrogates). | ||||
* | Added missed ";" in Python 2 only code. | Serhiy Storchaka | 2017-05-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #168 from simplejson/no-py2.4 | Bob Ippolito | 2017-05-20 | 1 | -13/+0 |
|\ | | | | | Remove remnants of Python 2.4 support. | ||||
| * | Remofe remnants of Python 2.4 support.no-py2.4 | Serhiy Storchaka | 2017-05-08 | 1 | -13/+0 |
| | | | | | | | | Clean up the code by removing workarounds for supporting Python 2.4. | ||||
* | | Fix argument checking errors in _speedups.c. | Serhiy Storchaka | 2017-05-12 | 1 | -34/+69 |
| | | | | | | | | | | | | | | Always check PyObject_IsTrue() for error. Also fix integer overflow in the int_as_string_bitcount argument. Fixes #167. | ||||
* | | Don't set tp_new to PyType_GenericNew.remove-init-methods | Serhiy Storchaka | 2017-05-08 | 1 | -2/+0 |
| | | |||||
* | | Remove the `__init__` methods in extension classes. | Serhiy Storchaka | 2017-05-07 | 1 | -76/+31 |
|/ | | | | | | | Calling the `__init__` methods repeatedly causes memory leaks. Not calling the `__init__` methods causes a core dump. Fixes #165. Ported from https://bugs.python.org/issue30243. | ||||
* | Add support for preprocessed JSON strings (with optimizations) in encoder | Kevin LaFlamme | 2016-09-01 | 1 | -0/+22 |
| | | | | In some situations, you may have a large python dictionary you need to JSONify but one of the values inside the dict is already a JSON string. This is common when pulling an object from a database, for example, where one of the fields is a JSON blob/string. Previously you would have to deserialize and then reserialize that string just to serialize the high level object, but obviously this is unnecessarily slow. This changes adds a method/type that can be used to wrap a str and tell the serializer to just pass it through instead. | ||||
* | v3.8.2 - fix compiler warning, automated wheel builds for Windows and Macv3.8.2wheels | Bob Ippolito | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | removed from _speedups.c forgotten "iterable_as_array" without comma after ↵ | Costy Petrisor | 2015-09-03 | 1 | -1/+0 |
| | | | | string | ||||
* | clean up iterable_as_array for 3.8.0v3.8.0 | Bob Ippolito | 2015-07-18 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' into iterable_as_array-gh1 | Nick Babcock | 2015-07-10 | 1 | -502/+1205 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGES.txt conf.py index.rst setup.py simplejson/__init__.py simplejson/_speedups.c simplejson/encoder.py simplejson/tests/test_tuple.py | ||||
| * | Fix msvc error C2275: 'PyObject' : illegal use of this type as an expression | Christoph Gohlke | 2015-05-18 | 1 | -2/+4 |
| | | |||||
| * | no longer trust custom repr for int/long/float subclasses #118v3.7.0 | Bob Ippolito | 2015-05-18 | 1 | -4/+43 |
| | | |||||
| * | Fix memory leak when an error occurs encoding dict items | Keith Bussell | 2014-10-23 | 1 | -0/+1 |
| | | |||||
| * | Fix lower bound checking in scan_once / raw_decode API #98v3.5.3 | Bob Ippolito | 2014-06-24 | 1 | -2/+2 |
| | | |||||
| * | fix build for VS 2008 | Gabi Davar | 2014-05-23 | 1 | -1/+1 |
| | | |||||
| * | detabv3.5.0 | Bob Ippolito | 2014-05-21 | 1 | -101/+101 |
| | | |||||
| * | clean up #96 and prep for v3.5.0 release | Bob Ippolito | 2014-05-21 | 1 | -19/+22 |
| | | |||||
| * | Merge pull request #96 from coldeasy/int_as_string_bitcount | Bob Ippolito | 2014-05-20 | 1 | -36/+74 |
| |\ | | | | | | | Adding `int_as_string_bitcount` option | ||||
| | * | Allocate int_as_string bounds once per encoder | Colin Deasy | 2014-05-20 | 1 | -31/+36 |
| | | | |||||
| | * | Adding `int_as_string_bitcount` option | Colin Deasy | 2014-05-14 | 1 | -22/+55 |
| | | | |||||
| * | | fix arg check for item_sort_key | Bob Ippolito | 2014-05-20 | 1 | -1/+3 |
| |/ | |||||
| * | pass-through in decoder for lone surrogates #62v3.3.0surrogate-62baserock/morph | Bob Ippolito | 2013-05-07 | 1 | -57/+41 |
| | | |||||
| * | ignore_nan #63ecma-262-63 | Bob Ippolito | 2013-05-01 | 1 | -12/+23 |
| | | |||||
| * | make argument order for c_make_encoder match make_iterencode | Bob Ippolito | 2013-05-01 | 1 | -2/+2 |
| | | |||||
| * | Implement for_json kwarg; pure Python version; add tests; update documentation. | shakefu | 2013-04-17 | 1 | -5/+7 |
| | | |||||
| * | Initial stab at for_json hook for C extension. | shakefu | 2013-04-17 | 1 | -0/+27 |
| | | |||||
| * | improve truncated input error messages, use JSONDecodeError instead of ↵ | Bob Ippolito | 2013-02-21 | 1 | -66/+115 |
| | | | | | | | | StopIteration (#61) | ||||
| * | Fix a Python 2.x compiler warning for narrow unicode builds (#56)v3.0.8 | Bob Ippolito | 2013-02-19 | 1 | -3/+5 |
| | | |||||
| * | Fix msvc10 compile error under Python 3.3 | Christoph Gohlke | 2013-01-01 | 1 | -1/+1 |
| | | |||||
| * | bump to 3.0.3, fix bugsv3.0.3 | Bob Ippolito | 2013-01-01 | 1 | -35/+41 |
| | | |||||
| * | Revert "Revert "Merge pull request #46 from cgohlke/patch-1"" | Bob Ippolito | 2013-01-01 | 1 | -3/+6 |
| | | | | | | | | This reverts commit 4d6b86059c981d1a275c803ecc91f511980b0af0. | ||||
| * | Revert "Merge pull request #46 from cgohlke/patch-1" | Bob Ippolito | 2013-01-01 | 1 | -6/+3 |
| | | | | | | | | | | This reverts commit 1aa8819498321dbfc601ff8a304d0c8a901f76da, reversing changes made to ed84084a51367a4731f80794b062f54365ac9c59. | ||||
| * | Fixes for Visual C compilers | Christoph Gohlke | 2013-01-01 | 1 | -3/+6 |
| | | |||||
| * | bump to 3.0.2, fix Py_EnterRecusiveCall/Py_LeaveRecursiveCall balance from 3.0.1v3.0.2 | Bob Ippolito | 2013-01-01 | 1 | -4/+12 |
| | | |||||
| * | _Py_Accu style encoder optimization, bump to 3.0.1v3.0.1 | Bob Ippolito | 2013-01-01 | 1 | -36/+157 |
| | | |||||
| * | clean up skipkeys/stringification in C API | Bob Ippolito | 2012-12-30 | 1 | -86/+105 |
| | | |||||
| * | more coverage, decimal key coercion | Bob Ippolito | 2012-12-29 | 1 | -0/+5 |
| | |