New submission from Thomas Heller <thel...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15459>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to