[wingide-users] Trapping exceptions

Tony Cappellini cappy2112 at gmail.com
Wed Aug 6 16:46:10 MDT 2008

Is it normal for Wing to trap the following exception, when it is set
to  ImmediatelyIfAppear Unhandled ?
I was expecting that Wing would not trap the exception,  because "it
is handled".

def func(arg):

   assert type(arg) is types.IntType, "Message"


   x= func('ABC')
except AssertionError:
   # do something else

More information about the wingide-users mailing list