csonpath 0.7.0__tar.gz → 0.8.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csonpath
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Description-Content-Type: text/markdown
5
5
  License-File: LICENSE
6
6
  Provides-Extra: dev
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csonpath
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Description-Content-Type: text/markdown
5
5
  License-File: LICENSE
6
6
  Provides-Extra: dev
@@ -725,9 +725,10 @@ need_reloop_in = 0;
725
725
  #define CSONPATH_DO_FILTER_FIND CSONPATH_DO_FIND_ALL
726
726
 
727
727
  #define CSONPATH_DO_FIND_ALL_OUT \
728
- if (!nb_res) \
729
- return CSONPATH_NONE_FOUND_RET; \
730
- return ret_ar;
728
+ if (!nb_res) { \
729
+ return CSONPATH_NONE_FOUND_RET; \
730
+ } \
731
+ return ret_ar;
731
732
 
732
733
  #define CSONPATH_DO_EXTRA_ARGS_IN , ret_ar
733
734
  #define CSONPATH_DO_EXTRA_DECLATION , CSONPATH_FIND_ALL_RET ret_ar
@@ -61,6 +61,7 @@
61
61
  else \
62
62
  arglist = Py_BuildValue("(OiOO)", ctx, child_info->idx, tmp, udata); \
63
63
  PyObject_CallObject(callback, arglist); \
64
+ Py_DECREF(arglist); \
64
65
  } while (0)
65
66
 
66
67
  /* assuming each modification of the object need to go out of the loop */
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "csonpath"
7
- version = "0.7.0"
7
+ version = "0.8.0"
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.7.0"
25
+ current_version = "0.8.0"
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