[issue7657] test_ctypes failure on AIX 5.3

2010-01-12 Thread sangamesh
sangamesh added the comment: These failures are specific to xlc compiler In xlc signed bit fields will be mapped to unsigned by default as opposed to gcc where the value stored in the bit field is of type declared. so the the value returned by "func(byref(b), name)" positive in som

[issue7657] test_ctypes failure on AIX 5.3

2010-01-08 Thread sangamesh
Changes by sangamesh : -- keywords: +patch Added file: http://bugs.python.org/file15791/bitfield.patch ___ Python tracker <http://bugs.python.org/issue7

[issue7657] test_ctypes failure on AIX 5.3

2010-01-07 Thread sangamesh
New submission from sangamesh : I built the python-2.6.2 with the latest libffi-3.0.9 in AIX 5.3 using xlc compiler. When i try to run the ctypes test cases, two failures are seen in test_bitfields. test_ints (ctypes.test.test_bitfields.C_Test) ... FAIL test_shorts