forked from pool/python-json5
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=13
3.3 KiB
3.3 KiB