[PyPy-issue] [issue616] ctypes: 'c_long' object is not iterable

Amaury Forgeot d Arc pypy-dev-issue at codespeak.net
Mon Dec 27 10:13:52 CET 2010

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

In CPython, binascii.c uses PyArg_ParseTuple with the "s#" format everywhere ("s*" 
since 2.7) which invokes the buffer interface.
pypy's implementation is in pure Python, and could use something like
    s = str(buffer(s))
in every public function.

status: unread -> chatting

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list