[PyPy-issue] [issue643] Fix for ctypes.test.test_objects failures under 2.7.0

Brett Cannon pypy-dev-issue at codespeak.net
Fri Feb 25 01:51:14 CET 2011

New submission from Brett Cannon <brett at python.org>:

Attached are two patches to fix the failures from ctypes.test.test_objects. One patch changes 
lib_pypy/_ctypes/basics.py:CArgObject to have a __repr__ compatible with the failing test. The other patch 
changes the test in modified-2.7.0 to use the __repr__ CArgObject currently has. Since this is my first 
patch for PyPy I wasn't sure which solution was preferred.

effort: easy
files: ctypes_basics.diff
messages: 2168
nosy: brett.cannon, pypy-issue
priority: bug
release: 1.4
status: unread
title: Fix for ctypes.test.test_objects failures under 2.7.0

PyPy development tracker <pypy-dev-issue at codespeak.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctypes_basics.diff
Type: application/octet-stream
Size: 357 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110225/31089bf1/attachment.obj>

More information about the Pypy-issue mailing list