bocpy 0.2.1__tar.gz → 0.2.2__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.
Files changed (35) hide show
  1. {bocpy-0.2.1/src/bocpy.egg-info → bocpy-0.2.2}/PKG-INFO +1 -1
  2. {bocpy-0.2.1 → bocpy-0.2.2}/pyproject.toml +1 -1
  3. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/_core.c +3 -1
  4. {bocpy-0.2.1 → bocpy-0.2.2/src/bocpy.egg-info}/PKG-INFO +1 -1
  5. {bocpy-0.2.1 → bocpy-0.2.2}/LICENSE.md +0 -0
  6. {bocpy-0.2.1 → bocpy-0.2.2}/README.md +0 -0
  7. {bocpy-0.2.1 → bocpy-0.2.2}/setup.cfg +0 -0
  8. {bocpy-0.2.1 → bocpy-0.2.2}/setup.py +0 -0
  9. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/__init__.py +0 -0
  10. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/__init__.pyi +0 -0
  11. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/_math.c +0 -0
  12. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/behaviors.py +0 -0
  13. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/__init__.py +0 -0
  14. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/assets/cheese.txt +0 -0
  15. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/assets/menu.txt +0 -0
  16. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/bank.py +0 -0
  17. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/boids.py +0 -0
  18. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/calculator.py +0 -0
  19. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/cooking_boc.py +0 -0
  20. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/cooking_threads.py +0 -0
  21. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/dining_philosophers.py +0 -0
  22. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/fibonacci.py +0 -0
  23. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/primes.py +0 -0
  24. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/examples/sketches.py +0 -0
  25. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/py.typed +0 -0
  26. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/transpiler.py +0 -0
  27. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy/worker.py +0 -0
  28. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy.egg-info/SOURCES.txt +0 -0
  29. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy.egg-info/dependency_links.txt +0 -0
  30. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy.egg-info/entry_points.txt +0 -0
  31. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy.egg-info/requires.txt +0 -0
  32. {bocpy-0.2.1 → bocpy-0.2.2}/src/bocpy.egg-info/top_level.txt +0 -0
  33. {bocpy-0.2.1 → bocpy-0.2.2}/test/test_boc.py +0 -0
  34. {bocpy-0.2.1 → bocpy-0.2.2}/test/test_matrix.py +0 -0
  35. {bocpy-0.2.1 → bocpy-0.2.2}/test/test_message_queue.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bocpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: bocpy is a Python extension that adds Behavior-oriented concurrency built on top of cross-interpreter data.
5
5
  Author-email: bocpy Team <bocpy@microsoft.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bocpy"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  authors = [
9
9
  {name = "bocpy Team", email="bocpy@microsoft.com"}
10
10
  ]
@@ -969,6 +969,8 @@ static void BOCRecycleQueue_recycle(BOCRecycleQueue *queue, XIDATA_T *xidata) {
969
969
  queue->index);
970
970
  }
971
971
 
972
+ Py_DECREF(xidata_ptr);
973
+
972
974
  // manual clear
973
975
  if (xidata->data != NULL) {
974
976
  if (xidata->free != NULL) {
@@ -978,7 +980,7 @@ static void BOCRecycleQueue_recycle(BOCRecycleQueue *queue, XIDATA_T *xidata) {
978
980
  }
979
981
 
980
982
  Py_CLEAR(xidata->obj);
981
- PyMem_RawFree(xidata->obj);
983
+ PyMem_RawFree(xidata);
982
984
  }
983
985
 
984
986
  /// @brief Enqeues an xidata on the recycling queue.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bocpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: bocpy is a Python extension that adds Behavior-oriented concurrency built on top of cross-interpreter data.
5
5
  Author-email: bocpy Team <bocpy@microsoft.com>
6
6
  License-Expression: MIT
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes