bitstruct 8.22.0__tar.gz → 8.22.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.
Files changed (23) hide show
  1. {bitstruct-8.22.0/src/bitstruct.egg-info → bitstruct-8.22.1}/PKG-INFO +1 -1
  2. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct/__init__.py +1 -1
  3. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct/c.c +4 -4
  4. {bitstruct-8.22.0 → bitstruct-8.22.1/src/bitstruct.egg-info}/PKG-INFO +1 -1
  5. {bitstruct-8.22.0 → bitstruct-8.22.1}/LICENSE +0 -0
  6. {bitstruct-8.22.0 → bitstruct-8.22.1}/MANIFEST.in +0 -0
  7. {bitstruct-8.22.0 → bitstruct-8.22.1}/Makefile +0 -0
  8. {bitstruct-8.22.0 → bitstruct-8.22.1}/README.rst +0 -0
  9. {bitstruct-8.22.0 → bitstruct-8.22.1}/docs/Makefile +0 -0
  10. {bitstruct-8.22.0 → bitstruct-8.22.1}/docs/conf.py +0 -0
  11. {bitstruct-8.22.0 → bitstruct-8.22.1}/docs/index.rst +0 -0
  12. {bitstruct-8.22.0 → bitstruct-8.22.1}/docs/make.bat +0 -0
  13. {bitstruct-8.22.0 → bitstruct-8.22.1}/pyproject.toml +0 -0
  14. {bitstruct-8.22.0 → bitstruct-8.22.1}/setup.cfg +0 -0
  15. {bitstruct-8.22.0 → bitstruct-8.22.1}/setup.py +0 -0
  16. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct/bitstream.c +0 -0
  17. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct/bitstream.h +0 -0
  18. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct.egg-info/SOURCES.txt +0 -0
  19. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct.egg-info/dependency_links.txt +0 -0
  20. {bitstruct-8.22.0 → bitstruct-8.22.1}/src/bitstruct.egg-info/top_level.txt +0 -0
  21. {bitstruct-8.22.0 → bitstruct-8.22.1}/tests/__init__.py +0 -0
  22. {bitstruct-8.22.0 → bitstruct-8.22.1}/tests/test_bitstruct.py +0 -0
  23. {bitstruct-8.22.0 → bitstruct-8.22.1}/tests/test_c.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitstruct
3
- Version: 8.22.0
3
+ Version: 8.22.1
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.0'
1
+ __version__ = '8.22.1'
2
2
 
3
3
  import binascii
4
4
  import re
@@ -430,11 +430,11 @@ static void pack_float_16(struct bitstream_writer_t *self_p,
430
430
  #if PY_VERSION_HEX >= 0x030B00A7
431
431
  PyFloat_Pack2(PyFloat_AsDouble(value_p),
432
432
  (char*)&buf[0],
433
- PY_BIG_ENDIAN);
433
+ 0);
434
434
  #else
435
435
  _PyFloat_Pack2(PyFloat_AsDouble(value_p),
436
436
  &buf[0],
437
- PY_BIG_ENDIAN);
437
+ 0);
438
438
  #endif
439
439
  bitstream_writer_write_bytes(self_p, &buf[0], sizeof(buf));
440
440
  }
@@ -447,9 +447,9 @@ static PyObject *unpack_float_16(struct bitstream_reader_t *self_p,
447
447
 
448
448
  bitstream_reader_read_bytes(self_p, &buf[0], sizeof(buf));
449
449
  #if PY_VERSION_HEX >= 0x030B00A7
450
- value = PyFloat_Unpack2((const char*)&buf[0], PY_BIG_ENDIAN);
450
+ value = PyFloat_Unpack2((const char*)&buf[0], 0);
451
451
  #else
452
- value = _PyFloat_Unpack2(&buf[0], PY_BIG_ENDIAN);
452
+ value = _PyFloat_Unpack2(&buf[0], 0);
453
453
  #endif
454
454
 
455
455
  return (PyFloat_FromDouble(value));
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitstruct
3
- Version: 8.22.0
3
+ Version: 8.22.1
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