cbf90c2ab0
- Update to 0.12.1 * Fix#94, where objects returned from a custom encoder were not being indented properly.
Markéta Machová2025-09-29 08:59:13 +00:00
e1e66f6a44
Accepting request 1223992 from devel:languages:python
Ana Guerrero2024-11-14 15:09:04 +00:00
eb59476ac4
- update to 0.9.28: * Fix GitHub CI to install uv so ./run tests works properly. * Mark Python3.13 as supported in package metadata. * Update dev package dependencies * Fix typo in //README.md * GitHub issue #82 Add support for the strict parameter to load()/loads(). * Significantly rework the infra and the run script to be contemporary.
Dirk Mueller2024-11-13 15:23:01 +00:00
06807329f3
Accepting request 1167722 from devel:languages:python
Ana Guerrero2024-04-15 18:17:56 +00:00
74145bb0b4
- update to 0.9.25: * Explicitly specify the directory to use for the package in pyproject.toml.
Dirk Mueller2024-04-15 06:16:44 +00:00
c89aee233f
Accepting request 1161553 from devel:languages:python
Ana Guerrero2024-03-26 18:26:21 +00:00
f60ad495cc
- update to 0.9.24: * drop python2 * switch to pyproject.toml * add typing * format with ruff
Dirk Mueller2024-03-25 20:19:39 +00:00
497c80a48d
Accepting request 1129222 from devel:languages:python
Ana Guerrero2023-11-27 21:44:58 +00:00
e18755ef56
- update to 0.9.14: * Handle +Infinity as well as -Infinity and Infinity. * No code changes. * fix GitHub actions
Dirk Mueller2023-11-27 19:05:44 +00:00
1613ba688c
- update to 0.9.13: * Remove a field from one of the JSON benchmark files to reduce confusion in Chromium. * No code changes.
Dirk Mueller2023-03-26 19:22:56 +00:00
0f7c8e176a
- update to 0.9.10: * Updated the //README.md to be clear that parsing arbitrary JS code may not work. * Fixed serialization for objects that subclass int or float: Previously we would use the objects __str__ implementation, but that might result in an illegal JSON5 value if the object had customized __str__ to return something illegal. Instead, we follow the lead of the JSON module and call int.__repr__ or float.__repr__ directly. * While I was at it, I added tests for dumps(-inf) and dumps(nan) when those were supposed to be disallowed by allow_nan=False.
Dirk Mueller2022-09-24 10:55:08 +00:00
fba20e86f1
- update to 0.9.8: * Fixed error reporting in some cases due to how parsing was handling nested rules in the grammar - previously the reported location for the error could be far away from the point where it actually happened. * Fixed behavior of default fn in dump and dumps. Previously we didn't require the function to return a string, and so we could end up returning something that wasn't actually valid. This change now matches the behavior in the json module.
Dirk Mueller2022-05-29 20:18:50 +00:00