[issue15453] ctype with packed bitfields does not match native compiler

2012-07-31 Thread Mike Castle
Mike Castle added the comment: I did read through all of those before posting this one. As far as I can remember, none of those addressed the use of pack, which is the sole problem I'm facing here. Now maybe when all is said and done and all of these bitfield bugs are worked out, this one

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-26 Thread Mike Castle
New submission from Mike Castle dalg...@gmail.com: On debian/testing with python 2.7.3rc2 and gcc 4.7.1. I was trying to use ctypeslib to wrap libdvdnav and running into some issues porting my test C code to Python, eventually tracking it down to this difference between how ctypes and gcc

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-26 Thread Mike Castle
Mike Castle dalg...@gmail.com added the comment: And the C version -- Added file: http://bugs.python.org/file26522/t.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15453