jsonpointer 3.8__py3-none-any.whl → 3.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jsonpointer-3.8.dist-info → jsonpointer-3.9.dist-info}/METADATA +1 -1
- jsonpointer-3.9.dist-info/RECORD +9 -0
- jsonpointer.py +4 -3
- jsonpointer-3.8.dist-info/RECORD +0 -9
- {jsonpointer-3.8.data → jsonpointer-3.9.data}/scripts/jsonpointer +0 -0
- {jsonpointer-3.8.dist-info → jsonpointer-3.9.dist-info}/WHEEL +0 -0
- {jsonpointer-3.8.dist-info → jsonpointer-3.9.dist-info}/licenses/AUTHORS +0 -0
- {jsonpointer-3.8.dist-info → jsonpointer-3.9.dist-info}/licenses/LICENSE.txt +0 -0
- {jsonpointer-3.8.dist-info → jsonpointer-3.9.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
jsonpointer.py,sha256=SMdpngkGz28E7DZDVru0OPRNehQI_1PB_WhIVC59XNQ,14561
|
|
2
|
+
jsonpointer-3.9.data/scripts/jsonpointer,sha256=XYDDaXnhkb3nANXqdn9OUKtVwSqsOZ8TDgXeawe_O7Y,4102
|
|
3
|
+
jsonpointer-3.9.dist-info/licenses/AUTHORS,sha256=TVgxnQ9ZyHvvWwez_k2w8ZwtfVVFsDTGv3tXyJu-9X8,113
|
|
4
|
+
jsonpointer-3.9.dist-info/licenses/LICENSE.txt,sha256=2LJPFdRyiF94ii1umFhQ8mRie4YBKhe7JCyD8xDZB-U,1413
|
|
5
|
+
jsonpointer-stubs/__init__.pyi,sha256=gHlnw0_btYmRw5m0UutGmAjNdvzS_E_yumlvm8rMX48,1920
|
|
6
|
+
jsonpointer-3.9.dist-info/METADATA,sha256=OXLqFxxk0a_pssU1BVff3yFHew-XbtK8nbrwc_Rs--o,2666
|
|
7
|
+
jsonpointer-3.9.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
8
|
+
jsonpointer-3.9.dist-info/top_level.txt,sha256=qkC_MNB0W-Hw6fCuc2X4V_xpd0WzjwHRObTmphI1SkM,30
|
|
9
|
+
jsonpointer-3.9.dist-info/RECORD,,
|
jsonpointer.py
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
# Will be parsed by setup.py to determine package metadata
|
|
34
34
|
__author__ = 'Stefan Kögl <stefan@skoegl.net>'
|
|
35
|
-
__version__ = '3.
|
|
35
|
+
__version__ = '3.9'
|
|
36
36
|
__website__ = 'https://github.com/stefankoegl/python-json-pointer'
|
|
37
37
|
__license__ = 'Modified BSD License'
|
|
38
38
|
|
|
@@ -275,8 +275,9 @@ class JsonPointer:
|
|
|
275
275
|
elif isinstance(parent, Sequence) and part == '-':
|
|
276
276
|
try:
|
|
277
277
|
parent.append(value)
|
|
278
|
-
except AttributeError as e:
|
|
279
|
-
#
|
|
278
|
+
except (AttributeError, TypeError) as e:
|
|
279
|
+
# Immutable sequences can't be appended to; typed sequences
|
|
280
|
+
# can reject the value just like an indexed assignment.
|
|
280
281
|
raise JsonPointerException("Invalid assignment target: %s" % (e,))
|
|
281
282
|
else:
|
|
282
283
|
try:
|
jsonpointer-3.8.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
jsonpointer.py,sha256=ZCwquwgGw0w1_DhwxY5IeuR6jGfEFKAL4-p_RhACo7U,14476
|
|
2
|
-
jsonpointer-3.8.data/scripts/jsonpointer,sha256=XYDDaXnhkb3nANXqdn9OUKtVwSqsOZ8TDgXeawe_O7Y,4102
|
|
3
|
-
jsonpointer-3.8.dist-info/licenses/AUTHORS,sha256=TVgxnQ9ZyHvvWwez_k2w8ZwtfVVFsDTGv3tXyJu-9X8,113
|
|
4
|
-
jsonpointer-3.8.dist-info/licenses/LICENSE.txt,sha256=2LJPFdRyiF94ii1umFhQ8mRie4YBKhe7JCyD8xDZB-U,1413
|
|
5
|
-
jsonpointer-stubs/__init__.pyi,sha256=gHlnw0_btYmRw5m0UutGmAjNdvzS_E_yumlvm8rMX48,1920
|
|
6
|
-
jsonpointer-3.8.dist-info/METADATA,sha256=vTu8UX0wQrfXWV9UxlfsUA6jmxE_PIxhH0VDmpEO8RI,2666
|
|
7
|
-
jsonpointer-3.8.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
8
|
-
jsonpointer-3.8.dist-info/top_level.txt,sha256=qkC_MNB0W-Hw6fCuc2X4V_xpd0WzjwHRObTmphI1SkM,30
|
|
9
|
-
jsonpointer-3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|