Re: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 12:01 am, Tuvi, Selim wrote: Phil, we just tried your suggestion and added a wrapped exception class and enabled the -e flag. Although it does translate the C++ exception to Python properly, it does it a little different than the regular Python exceptions would. In

Re: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-25 Thread Phil Thompson
On Friday 25 July 2003 1:51 pm, Paul F. Kunz wrote: On Fri, 25 Jul 2003 09:48:59 +0100, Phil Thompson [EMAIL PROTECTED] said: On Friday 25 July 2003 12:01 am, Tuvi, Selim wrote: Phil, we just tried your suggestion and added a wrapped exception class and enabled the -e flag.

Re: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-25 Thread Paul F. Kunz
On Fri, 25 Jul 2003 16:30:01 +0100, Phil Thompson [EMAIL PROTECTED] said: What if you implement __str__() for your exception class? I suppose you mean to implement this in the .sip file. Can you point to an example of doing this in the PyQt sources? grep __str__ *.sip = qbytearray.sip,

RE: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-24 Thread Tuvi, Selim
-3376 Fax:650-926-4335 -Original Message- From: Phil Thompson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2003 2:40 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PyKDE] SIP Support for C++ Operators and Exceptions On Wednesday 23 April 2003 9:03 pm, Jim Bublitz