[New-bugs-announce] [issue27679] set_bitfields() unused in _ctypes_test

Martin Panter report at bugs.python.org
Thu Aug 4 04:32:36 EDT 2016


New submission from Martin Panter:

Modules/_ctypes/_ctypes_test.c defines a structure called BITS and exports two C functions set_bitfields() and unpack_bitfields() that operate on it. However only unpack_bitfields() seems to have been used, in Lib/ctypes/test/test_bitfields.py. Either there is scope for enhancing the tests, or maybe there is no point and the function can be removed.

----------
components: Extension Modules, Tests, ctypes
messages: 271956
nosy: martin.panter
priority: normal
severity: normal
status: open
title: set_bitfields() unused in _ctypes_test
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27679>
_______________________________________


More information about the New-bugs-announce mailing list