[issue6715] xz compressor support
Dan Stromberg
report at bugs.python.org
Fri Nov 26 05:51:52 CET 2010
Dan Stromberg <strombrg at gmail.com> added the comment:
I agree that ctypes is a bit more brittle - both ctypes and c extension modules can yield segfaults, but at least the c extension module is likely to give an error or warning when you rebuild it.
However, I'm getting the impression that:
1) In pypy, the C extension module layer isn't a complete emulation
2) In pypy, the C extension module is a bit disfavored compared to ctypes
3) In pypy, there's a performance expense for CPyExt compared to ctypes
3) (less important) In pypy, the C extension module layer is still too young to do much with at this time
I've been wondering if maybe there should be a way to check ctypes use against .h's at build time. That way, the brittleness should be about the same.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6715>
_______________________________________
More information about the Python-bugs-list
mailing list