15
0
forked from pool/python-json5

Accepting request 979749 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/979749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=6
This commit is contained in:
2022-05-30 10:44:07 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eeb5e7d77b095dbfeae2e00c7df80ac8064994b33c5c36982f504c5c17c77a8c
size 109927

3
pyjson5-0.9.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2818dd37e39d61e6bb9f36d62be51ac33fc2c365b91ae0c4bf186f529e8af418
size 110629

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 29 20:17:37 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Tue Oct 5 16:04:01 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-json5
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-json5
Version: 0.9.6
Version: 0.9.8
Release: 0
Summary: A Python implementation of the JSON5 data format
License: Apache-2.0