David W.H. Swenson
954a9a0a00
cleanup
2020-11-11 16:54:57 +01:00
David W.H. Swenson
a48f8b22f1
Set same bounds as std lib for negative exponent
2020-11-11 16:41:34 +01:00
David W.H. Swenson
b773bf05dc
Fix errors on reading long decimal floats
2020-11-11 14:51:27 +01:00
David W.H. Swenson
af699c3cd0
Match Python json output for exponents
2020-11-11 14:41:51 +01:00
Sam Sneddon
f4029cc6ef
Fix #429 : Make empty dict/list indented serialization match stdlib json
...
Previously, we'd output a couple of new lines between the start and end
of the object, whereas the stdlib doesn't bother with whitespace if
they're empty.
In my testing, the only difference in indented serialization now is
float representation.
2020-11-10 10:57:15 +00:00
Hugo van Kemenade
f26f9679f1
Merge pull request #439 from mbish/master
...
Fix dealing with None types
2020-11-06 22:58:51 +02:00
Mark Bishop
7687b3de7a
Fix dealing with None types
2020-10-30 16:48:27 -04:00
Christian
298696be8f
Replace 3.9-dev with 3.9 in .travis.yml to use Python 3.9 final
2020-10-30 17:56:13 +01:00
Hugo van Kemenade
ed4cfe5992
Add Hacktoberfest labels
2020-10-28 16:13:15 +02:00
Hugo van Kemenade
0b5b635889
Merge pull request #435 from hugovk/fix-UnicodeDecodeError
...
Fix UnicodeDecodeError on arm64/aarch64
2020-10-09 22:01:44 +03:00
Hugo van Kemenade
d6af5dd65f
Fix UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2116: ordinal not in range(128)
2020-10-09 19:43:28 +03:00
Hugo van Kemenade
62b89200c6
Merge pull request #431 from hugovk/add-python-3.9
2020-10-07 09:44:41 +03:00
Hugo van Kemenade
71ef2a85e6
Drop 3.5, add 3.9
2020-10-06 23:01:45 +03:00
Hugo van Kemenade
3552b58f00
Add Python 3.9 to deploy-wheels
2020-10-06 20:34:29 +03:00
Hugo van Kemenade
da610577cc
Merge pull request #430 from hugovk/add-python-3.9
2020-10-06 20:34:01 +03:00
Hugo van Kemenade
72042ba023
Simplify config
2020-10-06 20:03:18 +03:00
Hugo van Kemenade
62f63f1429
Cannot test 3.10 yet: AssertionError: would build wheel with unsupported tag ('cp310', 'cp310', 'linux_x86_64')
2020-10-06 20:01:22 +03:00
Hugo van Kemenade
cedc5b7601
Add support for Python 3.9
2020-10-06 19:48:59 +03:00
Hugo van Kemenade
9d9fb9d09f
Merge pull request #424 from hugovk/rm-3.5
2020-10-06 19:39:11 +03:00
Hugo van Kemenade
335ac83c13
Merge pull request #426 from chenhan1218/fix-indent
...
Fix indent and add test case
2020-09-19 22:00:22 +03:00
Hugo van Kemenade
9c589d1cb5
Merge pull request #427 from verhovsky/master
...
Update code samples in README
2020-09-18 13:11:40 +03:00
boris
e58afc963b
Update code samples in README to Python 3
2020-09-17 23:45:42 -04:00
Chen-Han Hsiao (Stanley)
5b979eeebf
Fix indent and add test case
2020-09-17 22:41:00 +08:00
Hugo van Kemenade
3971a1f9b5
Use context manager for file opening
2020-09-08 21:36:51 +03:00
Hugo van Kemenade
07a59a871c
Use python -m pip https://snarky.ca/why-you-should-use-python-m-pip/
2020-09-08 21:36:50 +03:00
Hugo van Kemenade
197a7fd4d8
Update pre-commit
2020-09-08 21:36:50 +03:00
Hugo van Kemenade
bcde89c882
Drop support for EOL Python 3.5
2020-09-08 21:00:20 +03:00
Hugo van Kemenade
090d7412cf
Merge pull request #423 from hugovk/parallel-wheel-build
2020-09-08 19:09:10 +03:00
Hugo van Kemenade
f90e174d4e
Rename artifact file
2020-09-08 18:45:11 +03:00
Hugo van Kemenade
9f1dbd3d8d
Speedup: build ManyLinux2014_aarch64 and x86 Linux wheels in parallel
2020-09-08 18:25:58 +03:00
Hugo van Kemenade
9db4654257
Merge pull request #417 from tekknolagi/master
...
Make ujson PEP 384 compliant
2020-09-08 18:07:06 +03:00
Hugo van Kemenade
e891005f09
Merge pull request #422 from geoffreyblake/arm64_wheels
...
Add build step to deploy-wheels.yml that builds aarch64 wheels
2020-09-05 18:41:08 +03:00
Geoffrey Blake
60fcd91cbd
Add build step to deploy-wheels.yml that builds ujson
...
binary wheel for manylinux2014_aarch64 using docker buildx
and dumps the resulting artifacts into the dist/ folder.
2020-09-02 21:59:28 +00:00
Maxwell Bernstein
4e3a86791e
Make ujson PEP-384 compliant
...
Add a function to check if an object is of type `decimal.Decimal`.
Since that type was previously cached as a static variable, this commit
makes it a member of the module state instead. Add the associated module
state machinery.
Only enable compact ASCII shortcut in non Limited API.
Also check if the module exists before creating it anew in the init
function.
Also remove unnecessary and leaky Py_INCREF. PyObject_GetAttrString
returns a new reference.
See PEP 384 (Defining a Stable ABI):
https://www.python.org/dev/peps/pep-0384/ and PEP 3121 (Extension Module
Initialization and Finalization):
https://www.python.org/dev/peps/pep-3121/
2020-08-12 13:08:08 -07:00
Hugo van Kemenade
5dea5ef3dc
Merge pull request #418 from WillAyd/pep-489
2020-08-01 11:36:51 +03:00
Will Ayd
a2143a3e5b
Added version string
2020-07-29 11:59:35 -07:00
Will Ayd
3a05c8714f
PEP 489 Multi Phase Init support
2020-07-29 11:36:20 -07:00
Hugo van Kemenade
7c987ccd91
Merge pull request #414 from hugovk/simplify-config
2020-06-20 12:56:38 +03:00
Hugo van Kemenade
89015a13a0
Merge branch 'master' into simplify-config
2020-06-20 12:48:31 +03:00
Hugo van Kemenade
2f46e6400f
Merge pull request #413 from mgorny/pypy3
2020-06-14 20:24:02 +03:00
Hugo
5a9a2228f8
Travis CI is slow, only test PyPy3 on GHA
2020-06-13 23:15:53 +02:00
Hugo
1ed1555d33
Remove BOM from file to fix PyPy3, and remove encoding definition with pyupgrade
2020-06-13 23:15:53 +02:00
Hugo
98643d776d
Add PyPy3 to GitHub Actions
2020-06-13 23:15:53 +02:00
Hugo
6d6cd456ed
pre-commit autoupdate
2020-06-13 20:38:17 +03:00
Hugo
ab7345c259
Use v2 of actions
2020-06-13 16:37:48 +03:00
Hugo
41d50c9a90
Use deadsnakes/action for Python 3.9-dev
2020-06-13 14:41:51 +03:00
Hugo
f62f276f97
Use single cache config for all 3 operating systems
2020-06-13 14:38:34 +03:00
Hugo
aed0e6ab66
Simplify CI config
2020-06-13 14:34:20 +03:00
Hugo van Kemenade
9c65fafcfe
Merge pull request #410 from hugovk/update-release-checklist
2020-06-13 14:30:44 +03:00
Michał Górny
6fe3bde00e
Enable testing on PyPy3
2020-06-12 15:21:02 +02:00