[New-bugs-announce] [issue15459] ctypes Structures with subclassed types in the _fields_ list
Thomas Heller
report at bugs.python.org
Thu Jul 26 20:35:05 CEST 2012
New submission from Thomas Heller <theller at ctypes.org>:
When a ctypes Structure uses a subclass of c_int, c_short, c_byte in the _fields_ list to define bitfields, the results are wrong.
The attached script showbug.py demonstrates this behaviour.
----------
components: ctypes
files: showbug.py
keywords: needs review, patch
messages: 166496
nosy: theller
priority: normal
severity: normal
status: open
title: ctypes Structures with subclassed types in the _fields_ list
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file26529/showbug.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15459>
_______________________________________
More information about the New-bugs-announce
mailing list