commit | ecc3e67b986a1eed404b528ccbc099049c149edb | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Tue Jun 06 11:34:33 2006 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Tue Jun 06 11:34:33 2006 +0000 |
tree | dbb45566cd40d8fc0fd30c79217f8867d82b4840 | |
parent | dd2a6bf14f5a0794c14780af72641177f216ee01 [diff] |
Convert CFieldObject tp_members to tp_getset, since there is no structmember typecode for Py_ssize_t fields. This should fix some of the errors on the PPC64 debian machine (64-bit, big endian). Assigning to readonly fields now raises AttributeError instead of TypeError, so the testcase has to be changed as well.