[pypy-issue] [issue820] ctypes structure._fields_ should accept 3 tuple

npforce tracker at bugs.pypy.org
Mon Aug 8 04:04:48 CEST 2011


New submission from npforce <lesterz at gmail.com>:

The ctypes documentation says that ctypes.Structure._fields_ must be "a sequence 
defining the structure fields. The items must be 2-tuples or 3-tuples."  However, 
the current implementation of ctypes in pypy 1.5 only accepts a 2-tuple.  See 
lib_pypy/_ctypes/structure.py line 92.

----------
messages: 2906
nosy: npforce, pypy-issue
priority: bug
status: unread
title: ctypes structure._fields_ should accept 3 tuple

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue820>
________________________________________


More information about the pypy-issue mailing list