ctypes 0.9.2 released
Ian Bicking
ianb at colorstudy.com
Fri Oct 29 14:27:45 EDT 2004
Just wrote:
>>One of the perceived strengths of Python is the fact that it
>>integrates well with the platforms it is running on, so it's not an
>>insulated box like Java.
>
>
> Another one of Pythons perceived strengths is that if you get a
> segfault, it's a bug in Python. With ctypes that will no longer be as
> clear.
It's always been the case that C extensions can cause segfaults. This
is just a tool for incorporating C extensions, without writing any extra
C. It even says "c" right in the name, which should cause a certain
amount of (justified) fear for anyone who knows what that means ;)
Having ctypes in the stdlib would be cool, because it would mean that
many C library extension could be installed with no compilation step,
since ctypes would already be compiled as part of the default install.
Assuming the C library was already installed, but typically C libraries
get packaged for distribution long before the associated Python
extension is packaged.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Python-list
mailing list