This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
Priority: normal Keywords: patch

Created on 2007-11-04 15:49 by amaury.forgeotdarc, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ctypes3.diff amaury.forgeotdarc, 2007-11-04 15:49
Messages (2)
msg57099 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) 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) * (Python committer) Date: 2007-11-04 16:59
Applied in r58843.

Thank you very much!
History
Date User Action Args
2022-04-11 14:56:27adminsetgithub: 45723
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