bitstruct 8.22.2__tar.gz → 8.24.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.
Files changed (23) hide show
  1. {bitstruct-8.22.2/src/bitstruct.egg-info → bitstruct-8.24.0}/PKG-INFO +1 -1
  2. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct/__init__.py +1 -1
  3. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct/c.c +10 -0
  4. {bitstruct-8.22.2 → bitstruct-8.24.0/src/bitstruct.egg-info}/PKG-INFO +1 -1
  5. {bitstruct-8.22.2 → bitstruct-8.24.0}/LICENSE +0 -0
  6. {bitstruct-8.22.2 → bitstruct-8.24.0}/MANIFEST.in +0 -0
  7. {bitstruct-8.22.2 → bitstruct-8.24.0}/Makefile +0 -0
  8. {bitstruct-8.22.2 → bitstruct-8.24.0}/README.rst +0 -0
  9. {bitstruct-8.22.2 → bitstruct-8.24.0}/docs/Makefile +0 -0
  10. {bitstruct-8.22.2 → bitstruct-8.24.0}/docs/conf.py +0 -0
  11. {bitstruct-8.22.2 → bitstruct-8.24.0}/docs/index.rst +0 -0
  12. {bitstruct-8.22.2 → bitstruct-8.24.0}/docs/make.bat +0 -0
  13. {bitstruct-8.22.2 → bitstruct-8.24.0}/pyproject.toml +0 -0
  14. {bitstruct-8.22.2 → bitstruct-8.24.0}/setup.cfg +0 -0
  15. {bitstruct-8.22.2 → bitstruct-8.24.0}/setup.py +0 -0
  16. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct/bitstream.c +0 -0
  17. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct/bitstream.h +0 -0
  18. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct.egg-info/SOURCES.txt +0 -0
  19. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct.egg-info/dependency_links.txt +0 -0
  20. {bitstruct-8.22.2 → bitstruct-8.24.0}/src/bitstruct.egg-info/top_level.txt +0 -0
  21. {bitstruct-8.22.2 → bitstruct-8.24.0}/tests/__init__.py +0 -0
  22. {bitstruct-8.22.2 → bitstruct-8.24.0}/tests/test_bitstruct.py +0 -0
  23. {bitstruct-8.22.2 → bitstruct-8.24.0}/tests/test_c.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitstruct
3
- Version: 8.22.2
3
+ Version: 8.24.0
4
4
  Summary: This module performs conversions between Python values and C bit field structs represented as Python byte strings.
5
5
  Author: Ilya Petukhov
6
6
  Author-email: Erik Moqvist <erik.moqvist@gmail.com>
@@ -1,4 +1,4 @@
1
- __version__ = '8.22.2'
1
+ __version__ = '8.24.0'
2
2
 
3
3
  import binascii
4
4
  import re
@@ -2605,6 +2605,14 @@ PyMODINIT_FUNC PyInit_c(void)
2605
2605
  return (NULL);
2606
2606
  }
2607
2607
 
2608
+ #ifdef Py_GIL_DISABLED
2609
+ if (PyUnstable_Module_SetGIL(module_p, Py_MOD_GIL_NOT_USED) < 0) {
2610
+ Py_DECREF(module_p);
2611
+
2612
+ return (NULL);
2613
+ }
2614
+ #endif
2615
+
2608
2616
  Py_INCREF(&compiled_format_type);
2609
2617
 
2610
2618
  if (PyModule_AddObject(module_p,
@@ -2616,6 +2624,8 @@ PyMODINIT_FUNC PyInit_c(void)
2616
2624
  return (NULL);
2617
2625
  }
2618
2626
 
2627
+ Py_INCREF(&compiled_format_dict_type);
2628
+
2619
2629
  if (PyModule_AddObject(module_p,
2620
2630
  "CompiledFormatDict",
2621
2631
  (PyObject *)&compiled_format_dict_type) < 0) {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitstruct
3
- Version: 8.22.2
3
+ Version: 8.24.0
4
4
  Summary: This module performs conversions between Python values and C bit field structs represented as Python byte strings.
5
5
  Author: Ilya Petukhov
6
6
  Author-email: Erik Moqvist <erik.moqvist@gmail.com>
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