Brian Thorne added the comment: > The very beginning of the ctypes documentation has documentation to that > effect
>Does that address your suggestion? Thanks Chris, that explains why the difference is present on non 32 bit platforms. Would using c_long for the examples produce the expected output on 64 and 32 bit systems? Just an idea to try remove potential confusion. ---------- status: pending -> open Added file: http://bugs.python.org/file27525/ctypes_doc.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16192> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com