Extension Crashing Python on Import?
Question: I have a python extension that is built and installed through distutils (using
mingw on windows). However on import of this module the interpreter crashes.
Is there anyway to debug and figure out why it crashes?

I did look around online and couldn't find anything specific, or any examples.

_EDIT_

Sorry i am trying to compile for python 2.5.4 (we need 2.5.4, since we use
arcgis geoprocessor library):

<http://effbot.org/media/downloads/ftpparse-1.1-20021124.zip>

On windows, i define crash as: "Python.exe has encountered a problem and needs
to close"

I'll try debugging with GDB

_EDIT 2_ For what ever reason, doing a

    
    
    setup.py clean
    

For the package and doing:

    
    
    setup.py install
    

fixed all the problems. :psyduck:


Answer: I suppose using gdb see <http://oldwiki.mingw.org/index.php/gdb>

