cpython/Lib/ctypes
Thomas Heller 867200483b Apply the patch #1532975 plus ideas from the patch #1533481.
ctypes instances no longer have the internal and undocumented
'_as_parameter_' attribute which was used to adapt them to foreign
function calls; this mechanism is replaced by a function pointer in
the type's stgdict.

In the 'from_param' class methods, try the _as_parameter_ attribute if
other conversions are not possible.

This makes the documented _as_parameter_ mechanism work as intended.

Change the ctypes version number to 1.0.1.
2006-08-14 11:17:48 +00:00
..
macholib Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
test Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
__init__.py Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
_endian.py Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
util.py Fix #1521375. When running with root priviledges, 'gcc -o /dev/null' 2006-07-13 17:01:14 +00:00
wintypes.py Add an __all__ list, since this module does 'from ctypes import *'. 2006-06-14 09:20:11 +00:00