[Python-Dev] ctypes issue (original) (raw)
Neal Becker ndbecker2 at gmail.com
Wed Jan 30 14:15:09 CET 2008
- Previous message: [Python-Dev] pep3118, ctypes, py3k
- Next message: [Python-Dev] Assigning issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In python 2.5.1:
from ctypes import * c = c_int(4) print c == 4 print c.value == 4
False True
This seem unreasonable to me, and a big invitation to error.
- Previous message: [Python-Dev] pep3118, ctypes, py3k
- Next message: [Python-Dev] Assigning issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]