FW: Crash in PyImport_Import()

2006-12-19 Thread Geert Van Muylem
? Regards, Geert _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Van Muylem Sent: maandag 18 december 2006 22:51 To: python-list@python.org Subject: Crash in PyImport_Import() Hi, The following script works fine when I call it from the python interpreter but

Crash in PyImport_Import()

2006-12-18 Thread Geert Van Muylem
Hi, The following script works fine when I call it from the python interpreter but not when I call it from a c application (embedded python) It crashes in the PyImport_Import() import ldap import distutils.sysconfig def TestInit(): l = ldap.open("192.168.1.2") l.simple_bind_s("","