commit | 68bb9a1418f15eede43242eb3619ee5e4d0a85cb | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Mon Apr 30 16:04:57 2007 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Mon Apr 30 16:04:57 2007 +0000 |
tree | 899938f47ac6cfe8341d0d429a9d7e172246275f | |
parent | 5a901bd3cc396b17645d0d4012faf63db9e3ab42 [diff] |
When accessing the .value attribute of a c_wchar_p instance, and the instance does not point to a valid wchar_t zero-terminated string, raise a ValueError. c_char_p does this already. The ValueError message now contains the correct pointer address. Will backport to release25-maint.