[pypy-issue] [issue1692] Expose PyByteArray_AS_STRING in cpyext

Armin Rigo tracker at bugs.pypy.org
Wed Feb 12 09:22:28 CET 2014


Armin Rigo <armin.rigo at gmail.com> added the comment:

I may be wrong, but this looks almost impossible right now, no?  We can't expose
a raw pointer to the data in a bytearray object and expect the user to mutate
it.  This might be possible only with general pinning (and then we might end up
with a large number of objects pinned for life).

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1692>
________________________________________


More information about the pypy-issue mailing list