On 04/17/2012 03:16 PM, Stefan Behnel wrote:
Dag Sverre Seljebotn, 17.04.2012 14:53:
Is bytes a vararg object or does it wrap a char*?

The data is stored internally in all CPython versions. Note that access to
it may not be efficient in other Python implementations, but at least PyPy
would also have a problem with providing a non-reference counted char*
value (unless they let it live forever, that is...).

Are there any implications for PyPy as the *caller* w.r.t. a bytes object or a char*? E.g. if it wants to parse the format string and JIT a dispatch.

Dag
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to