diff --git a/pyjson5-0.9.10.tar.gz b/pyjson5-0.9.10.tar.gz new file mode 100644 index 0000000..bab99c2 --- /dev/null +++ b/pyjson5-0.9.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3f9fcc0b9e29331841b1c429eebdf1605fe32ee998a59825dd36ae6f4b97180 +size 111356 diff --git a/pyjson5-0.9.8.tar.gz b/pyjson5-0.9.8.tar.gz deleted file mode 100644 index 15babf2..0000000 --- a/pyjson5-0.9.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2818dd37e39d61e6bb9f36d62be51ac33fc2c365b91ae0c4bf186f529e8af418 -size 110629 diff --git a/python-json5.changes b/python-json5.changes index 62b61c7..393af02 100644 --- a/python-json5.changes +++ b/python-json5.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Sep 24 10:54:29 UTC 2022 - Dirk Müller + +- 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`. + ------------------------------------------------------------------- Sun May 29 20:17:37 UTC 2022 - Dirk Müller diff --git a/python-json5.spec b/python-json5.spec index f9938a9..3f66c21 100644 --- a/python-json5.spec +++ b/python-json5.spec @@ -25,7 +25,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-json5 -Version: 0.9.8 +Version: 0.9.10 Release: 0 Summary: A Python implementation of the JSON5 data format License: Apache-2.0