classification
Title: py3k-pep3137: patch for test_ctypes
Type: Stage:
Components: Tests Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, christian.heimes, gvanrossum (3)
Priority: Keywords patch

Created on 2007-11-04 15:49 by amaury.forgeotdarc, last changed 2008-01-06 22:29 by admin.

Files
File name Uploaded Description Edit Remove
ctypes3.diff amaury.forgeotdarc, 2007-11-04 15:49
Messages (2)
msg57099 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) Date: 2007-11-04 15:49
This patch corrects test_ctypes in the py3k-pep3137 branch.
Replacing PyBytes_* by PyString_* was 99% of the task.

Also had to modify binascii, which used to return buffers instead of
bytes strings.

Tested on winXP.
msg57102 - (view) Author: Christian Heimes (christian.heimes) Date: 2007-11-04 16:59
Applied in r58843.

Thank you very much!
History
Date User Action Args
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: Python 3.0
2007-11-04 16:59:58christian.heimessetstatus: open -> closed
resolution: fixed
messages: + msg57102
keywords: + py3k, patch
2007-11-04 15:49:45amaury.forgeotdarccreate