python-json5
No description set
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:seife:Factory/python-json5 && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
pyjson5-0.9.10.tar.gz | 0000111356 109 KB | |
python-json5.changes | 0000004119 4.02 KB | |
python-json5.spec | 0000002679 2.62 KB |
Revision 7 (latest revision is 12)
Dominique Leuenberger (dimstar_suse)
accepted
request 1005760
from
Dirk Mueller (dirkmueller)
(revision 7)
- 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`.
Comments 0