[pypy-issue] [issue1356] Casting a str into a ctype pointer fails
Vincent Pelletier
tracker at bugs.pypy.org
Mon Dec 31 23:19:34 CET 2012
Vincent Pelletier <plr.vincent at gmail.com> added the comment:
Tested on releases: 1.9 and 2.0beta1
Traceback with 2.0beta1:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/vincent/git/ITI1480A-linux/pypy-2.0-beta1/lib-python/2.7/ctypes/__init__.py", line 510, in cast
return _cast_addr(obj, obj, typ)
File "/home/vincent/git/ITI1480A-linux/pypy-2.0-beta1/lib_pypy/_ctypes/pointer.py", line 146, in _cast_addr
% (type(obj),))
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1356>
________________________________________
More information about the pypy-issue
mailing list