import ctypes fails on OS X
Brought to you by:
theller
Trying to get ctypes to work on a stock MacBook Pro. (Python 2.3)
easy_install fails due to dead links to starship.python.net.
Version 1.0.1 from sourceforge builds and installs, but does not import:
if gestalt.gestalt("sysv") < 0x1040:
MacOS.Error: (-5551, 'undefined selector was passed to Gestalt')
That's not a very friendly response.
As I'm running 10.4.8, I've just commented out those lines.
However, this should be corrected in ctypes.
--S