csonpath 0.6.0__tar.gz → 0.6.1__tar.gz
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.
- {csonpath-0.6.0/csonpath.egg-info → csonpath-0.6.1}/PKG-INFO +1 -1
- {csonpath-0.6.0 → csonpath-0.6.1/csonpath.egg-info}/PKG-INFO +1 -1
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath_python.c +2 -1
- {csonpath-0.6.0 → csonpath-0.6.1}/pyproject.toml +2 -2
- {csonpath-0.6.0 → csonpath-0.6.1}/LICENSE +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/MANIFEST.in +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/README.md +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath.egg-info/SOURCES.txt +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath.egg-info/dependency_links.txt +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath.egg-info/requires.txt +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath.egg-info/top_level.txt +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath.h +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/csonpath_do.h +0 -0
- {csonpath-0.6.0 → csonpath-0.6.1}/setup.cfg +0 -0
|
@@ -203,7 +203,7 @@ static PyObject *find_all(PyCsonPathObject *self, PyObject* args)
|
|
|
203
203
|
|
|
204
204
|
if (!PyArg_ParseTuple(args, "O", &json))
|
|
205
205
|
BAD_ARG();
|
|
206
|
-
PyObject *ret =
|
|
206
|
+
PyObject *ret = csonpath_find_all(self->cp, json);
|
|
207
207
|
return ret;
|
|
208
208
|
}
|
|
209
209
|
|
|
@@ -214,6 +214,7 @@ static PyObject *find_first(PyCsonPathObject *self, PyObject* args)
|
|
|
214
214
|
if (!PyArg_ParseTuple(args, "O", &json))
|
|
215
215
|
BAD_ARG();
|
|
216
216
|
PyObject *ret = csonpath_find_first(self->cp, json);
|
|
217
|
+
Py_INCREF(ret);
|
|
217
218
|
return ret;
|
|
218
219
|
}
|
|
219
220
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "csonpath"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.1"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
|
|
10
10
|
[tool.setuptools]
|
|
@@ -22,7 +22,7 @@ dev = [
|
|
|
22
22
|
testpaths = ["tests/python"]
|
|
23
23
|
|
|
24
24
|
[tool.bumpversion]
|
|
25
|
-
current_version = "0.6.
|
|
25
|
+
current_version = "0.6.1"
|
|
26
26
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
27
27
|
serialize = ["{major}.{minor}.{patch}"]
|
|
28
28
|
search = "{current_version}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|