This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Wrong result unpacking binary data with ctypes bitfield.
Type: behavior Stage: resolved
Components: ctypes Versions: Python 3.10
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Dennis Sweeney, helo9
Priority: normal Keywords:

Created on 2022-02-19 23:06 by helo9, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ctypes_bitfield_problem.ipynb helo9, 2022-02-19 23:06 A jupyter notebook with python and C++ code.
Messages (3)
msg413559 - (view) Author: Jonathan (helo9) Date: 2022-02-19 23:06
I have issues unpacking binary data, produced by C++. The appended jupyter notebook shows the problem. It is also uploaded to github gist: https://gist.github.com/helo9/04125ae67b493e505d5dce4b254a2ccc
msg413560 - (view) Author: Dennis Sweeney (Dennis Sweeney) * (Python committer) Date: 2022-02-20 00:16
Possible duplicate of https://bugs.python.org/issue29753
msg413561 - (view) Author: Jonathan (helo9) Date: 2022-02-20 00:30
True, have to admit, that I forgot to search first, that really looks like it is the same problem, especially when looking at https://bugs.python.org/msg289212. Would say this one can be closed.
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 90958
2022-02-20 00:30:50helo9setstatus: open -> closed

nosy: + helo9
messages: + msg413561

stage: resolved
2022-02-20 00:16:51Dennis Sweeneysetnosy: + Dennis Sweeney
messages: + msg413560
2022-02-19 23:32:37helo9setnosy: - helo9
-> (no value)
2022-02-19 23:06:15helo9create