[pypy-issue] [issue869] Implement ctypes.<type>.from_buffer method

Michael Schurter tracker at bugs.pypy.org
Tue Sep 27 21:04:50 CEST 2011


Michael Schurter <m at schmichael.com> added the comment:

from_buffer is useful for more than just tests. They allow you to create ctypes
in, for example, memory mapped buffers for sharing between processes.

I've been using this feature extensively in a metrics/monitoring library I've
been working on and would love for it to be supported in PyPy (I went with
ctypes instead of C or Cython in hopes of getting "free" PyPy support from the
beginning).

https://github.com/schmichael/mmstats
http://schmichael.github.com/mmstats-talk/

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


More information about the pypy-issue mailing list