[IronPython] Crash

Harri Vartiainen harri.vartiainen at iki.fi
Fri Mar 7 19:23:44 CET 2008


Hi,

 I got my callback eventually working and found one bug/problem:

 If the callback function returns invalid type (eg. None), the
IronPython crashes:

Unhandled exception:
Traceback (most recent call last):
  File , line 0, in System.Int32(Int32, Double, IntPtr, Int32)##154
TypeError: Cannot convert NoneType() to Int32

 And then Windows displays the "program crashed - report to Microsoft" -dialog.



More information about the Ironpython-users mailing list