summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash wish unencodable encoding in the encoder.unencodable-encoder-encodingSerhiy Storchaka2017-05-212-2/+15
| | | | | JSONEncoder.encode() crashed in Python 3 when encoded bytes keys if the encoding was not encodable to utf-8 (contained surrogates).
* Make test_speedups compatible with Python 2.5 and 2.6.Serhiy Storchaka2017-05-211-37/+25
|
* Make test_speedups compatible with Python 2.5.Serhiy Storchaka2017-05-211-0/+2
|
* Added missed ";" in Python 2 only code.Serhiy Storchaka2017-05-211-1/+1
|
* Merge pull request #162 from chrisgavin/unused-importsBob Ippolito2017-05-203-4/+1
|\ | | | | Remove unused imports.
| * Remove unused imports.Chris Gavin2017-04-243-4/+1
| |
* | Merge pull request #168 from simplejson/no-py2.4Bob Ippolito2017-05-203-35/+2
|\ \ | | | | | | Remove remnants of Python 2.4 support.
| * | Remofe remnants of Python 2.4 support.no-py2.4Serhiy Storchaka2017-05-083-35/+2
| |/ | | | | | | Clean up the code by removing workarounds for supporting Python 2.4.
* | Merge pull request #169 from simplejson/check-is-trueBob Ippolito2017-05-202-35/+123
|\ \ | | | | | | Fix argument checking errors in _speedups.c.
| * \ Merge branch 'master' into check-is-truecheck-is-trueSerhiy Storchaka2017-05-201-1/+1
| |\ \ | |/ / |/| |
* | | Merge pull request #166 from simplejson/remove-init-methodsBob Ippolito2017-05-181-78/+31
|\ \ \ | | | | | | | | Remove the `__init__` methods in extension classes.
* | | | Fix a typo in the doc for loads (#161).Serhiy Storchaka2017-05-081-1/+1
| |_|/ |/| |
| | * Fix argument checking errors in _speedups.c.Serhiy Storchaka2017-05-122-35/+123
| |/ | | | | | | | | | | | | 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-methodsSerhiy Storchaka2017-05-081-2/+0
| |
| * Remove the `__init__` methods in extension classes.Serhiy Storchaka2017-05-071-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.
* Merge pull request #153 from hugovk/patch-1Bob Ippolito2017-01-171-0/+2
|\ | | | | Update Python versions
| * Update Python versionsHugo2017-01-171-0/+2
|/
* Merge pull request #152 from hugovk/patch-1Bob Ippolito2017-01-161-0/+3
|\ | | | | Python 3.6 is out
| * Python 3.6 is outHugo2017-01-161-0/+3
|/
* v3.10.0v3.10.0Bob Ippolito2016-10-281-1/+1
|
* Merge branch 'lamflam-raw_json'Bob Ippolito2016-10-288-5/+94
|\
| * Bump version, update changelog, fix issues identified in code review of #143Bob Ippolito2016-10-287-5/+32
| |
| * Merge branch 'raw_json' of https://github.com/lamflam/simplejson into ↵Bob Ippolito2016-10-284-1/+63
| |\ |/ / | | | | lamflam-raw_json
| * Add support for preprocessed JSON strings (with optimizations) in encoderKevin LaFlamme2016-09-014-1/+63
| | | | | | | | 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.
* | use correct pyenv in runBob Ippolito2016-10-231-1/+2
| |
* | rehash before and after evalBob Ippolito2016-10-231-0/+1
| |
* | Only upload exe and whl filesBob Ippolito2016-10-221-1/+1
| |
* | add signing and uploading artifacts to the scriptBob Ippolito2016-10-211-0/+33
| |
* | remove unnecessary URLBob Ippolito2016-10-211-1/+0
| |
* | v3.9.0v3.9.0Bob Ippolito2016-10-211-1/+1
| |
* | Bump version to 3.9.0Bob Ippolito2016-10-214-6/+6
| |
* | Fixes #144. Workaround for bad behavior in string subclasses.Bob Ippolito2016-10-214-1/+28
| |
* | Update Python versions used for Mac buildsBob Ippolito2016-10-211-2/+2
| |
* | Another attempt to fix Travis Mac buildBob Ippolito2016-10-211-4/+7
| |
* | Update CHANGES.txtBob Ippolito2016-10-211-0/+9
| |
* | Merge pull request #146 from rowillia/masterBob Ippolito2016-09-262-13/+11
|\ \ | | | | | | Fix problems identified by `-3` flag when running in Python 2.7
| * | Remove fromhex all togetherRoy Williams2016-09-222-17/+11
| | |
| * | Add support for Python 2.5Roy Williams2016-09-221-2/+6
| | |
| * | Use binascii instead of codecsRoy Williams2016-09-221-4/+3
| | |
| * | Use `codecs.decode` in Python 2 as opposed to `str.decode` in Python 2.Roy Williams2016-09-211-2/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am investigating a migration to Python 3, and to facilitate this we are using the `-3` flag as decribed here: https://docs.python.org/3/howto/pyporting.html#prevent-compatibility-regressions . When using this flag, I get warnings from simplejson about the use of decode. While obviously this is a invalid warning since this code is gated in Python 2, committing this change will allow users to run their code in `-3` mode in Python 2 without warnings from simplejson. Microbenchmarking this change with `timeit` also reveals it's faster! ```py >>> import timeit >>> timeit.timeit("decode_hex('4f6c6567')[0]", setup="import codecs; decode_hex = codecs.getdecoder('hex_codec')") 0.6572110652923584 >>> timeit.timeit("'4f6c6567'.decode('hex')") 0.9076640605926514 ```
* | See if we can get those OS X builds workingBob Ippolito2016-09-251-0/+2
|/
* Merge pull request #137 from adamchainz/readthedocs.ioBob Ippolito2016-05-302-2/+2
|\ | | | | Convert readthedocs link for their .org -> .io migration for hosted projects
| * Convert readthedocs link for their .org -> .io migration for hosted projectsAdam Chainz2016-05-292-2/+2
|/ | | | | | | | As per their email ‘Changes to project subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
* Merge pull request #134 from compwron/rst_readme_build_statusBob Ippolito2016-03-121-0/+7
|\ | | | | add build status badge and github-visible python2.2 link to readme
| * Readme badge and py2 linklgoldstein2016-03-091-0/+7
|/
* fix artifacts scriptBob Ippolito2016-02-151-2/+2
|
* v3.8.2 - fix compiler warning, automated wheel builds for Windows and Macv3.8.2wheelsBob Ippolito2016-02-159-14/+139
|
* Merge pull request #130 from aebrahim/appveyorBob Ippolito2015-11-223-0/+232
|\ | | | | build windows wheels on appveyor
| * build windows wheels on appveyorAli Ebrahim2015-11-223-0/+232
|/
* Add Python 3.5 to Travis test suiteBob Ippolito2015-10-271-0/+1
|