Chris Jerdonek added the comment:

> Perhaps if some machines expect otherwise that should be documented, 
> otherwise might we change them.

The very beginning of the ctypes documentation has documentation to that effect:

"Note: Some code samples reference the ctypes c_int type. This type is an alias 
for the c_long type on 32-bit systems. So, you should not be confused if c_long 
is printed if you would expect c_int — they are actually the same type."

http://docs.python.org/dev/library/ctypes.html#ctypes-tutorial

Does that address your suggestion?

----------
nosy: +chris.jerdonek
status: open -> pending

_______________________________________
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

Reply via email to