summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-08-14 11:17:48 +0000
committerThomas Heller <theller@ctypes.org>2006-08-14 11:17:48 +0000
commit867200483bd518d4fbd9e3d16f8785b6395af9b7 (patch)
tree6520737e434c243517ef30a6e3d3e8cdd07d0b6c /Lib/string.py
parent040f76b79c0ce86dc33b9c525fbcd84b2254e559 (diff)
downloadcpython-git-867200483bd518d4fbd9e3d16f8785b6395af9b7.tar.gz
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.
Diffstat (limited to 'Lib/string.py')
0 files changed, 0 insertions, 0 deletions