[New-bugs-announce] [issue1319] py3k: fixes for test_ctypes

Amaury Forgeot d'Arc report at bugs.python.org
Wed Oct 24 00:50:18 CEST 2007

New submission from Amaury Forgeot d'Arc:

Updates to ctypes for python 3.0 to make the tests pass.

Notable changes are:
- return bytes instead of str8
- integers in range(256) are accepted as "one char string":
libc.strchr("abcdef", 98) is now valid.
- directly use the wide-char version of the win32 function LoadLibrary.

Tested on WinXP, with Visual Studio Express 2005.

components: Interpreter Core
files: ctypes.diff
messages: 56696
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3k: fixes for test_ctypes
versions: Python 3.0
Added file: http://bugs.python.org/file8600/ctypes.diff

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctypes.diff
Type: application/octet-stream
Size: 20925 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071023/14281ee8/attachment-0001.obj 

More information about the New-bugs-announce mailing list