Calling foreign functions from Python? ctypes?
Neil Hodgson
nyamatongwe+thunder at gmail.com
Fri Jan 6 19:55:45 EST 2006
More information about the Python-list mailing list
Fri Jan 6 19:55:45 EST 2006
- Previous message (by thread): Calling foreign functions from Python? ctypes?
- Next message (by thread): Calling foreign functions from Python? ctypes?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Watson:
> Neil Hodgson wrote:
>> It is unlikely that ctypes will be included in the standard Python
>> build as it allows unsafe memory access making it much easier to crash
>> Python.
> Does extending Python with any C/C++ function not do the same thing?
No. It is the responsibility of the extension author to ensure that
there is no possibility of crashing Python. With ctypes, you have a
generic mechanism that enables Python code to cause a crash.
Neil
- Previous message (by thread): Calling foreign functions from Python? ctypes?
- Next message (by thread): Calling foreign functions from Python? ctypes?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list