1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-04-18 15:14:04 +02:00
ultrajson/tests
Eugene Toder 381f248e03 Speedup dumps with sorted keys
Do not create a list of tuples with (converted key, value) upfront.
Instead, convert keys and fetch values during iteration.

Also, if sorting fails, preserve the original exception instead of
overwriting it with a less informative ValueError. This is the same
behavior as the standard library's json module.
2023-12-10 21:11:20 +00:00
..
334-reproducer.json Fix unchecked buffer overflows (CVE-2021-45958). 2022-04-05 21:04:39 +01:00
benchmark.py Remove unmaintained nujson from benchmark and bump to Python 3.11 2023-06-01 15:37:10 +03:00
fuzz.py Add ref count checks to fuzz tests 2022-04-13 02:52:17 +00:00
memory.py Rewrite memory leak test with tracemalloc 2022-06-13 20:19:56 +00:00
sample.json Lint end-of-file-fixer 2020-05-12 09:36:47 +03:00
test_ujson.py Speedup dumps with sorted keys 2023-12-10 21:11:20 +00:00