]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Anonymous structure fields that have a bit-width specified did not work,
authorThomas Heller <theller@ctypes.org>
Thu, 7 Sep 2006 18:56:28 +0000 (18:56 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 7 Sep 2006 18:56:28 +0000 (18:56 +0000)
commitfdb62f0e5f0b7d1a70a9d8948768ff09ea420c41
tree5dae99a7d879e5000f2a4e846c8f766287a4b62f
parent863f3d1fbff6b65eb0526f2d98a6f89474b96eb9
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
    function takes exactly 2 arguments (3 given).

With tests.
Lib/ctypes/test/test_bitfields.py
Modules/_ctypes/stgdict.c