[issue3547] Ctypes is confused by bitfields of varying integer types

Skip Montanaro report at bugs.python.org
Wed Sep 24 19:36:15 CEST 2008


Skip Montanaro <skip at pobox.com> added the comment:

Looks reasonable, though I'm no ctypes maven.  Trivial little nit:
In the comment just before the start of CField_FromDesc it says,
in part:

 * Expects the size, index and offset for the current field in *psize and
 * *poffset, stores the total size so far in *psize, the offset for the next

Note that it identifies three values (size, index, offset) as stored
in two locations (*psize and *poffset).  Seems like some sort of
mismatch to me.

----------
nosy: +skip.montanaro

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


More information about the Python-bugs-list mailing list