[PyQt] SIP, multiple constructors and exceptions

Andrew Perella ajp at eutechnyx.com
Mon May 19 09:55:10 BST 2008


OK thanks, I hadn't noticed an exception anywhere - perhaps I caught it
elsewhere. I will look into it.

Thanks,
Andrew


-----Original Message-----
From: pyqt-bounces at riverbankcomputing.com
[mailto:pyqt-bounces at riverbankcomputing.com] On Behalf Of Phil Thompson
Sent: 15 May 2008 22:03
To: pyqt at riverbankcomputing.com
Subject: Re: [PyQt] SIP, multiple constructors and exceptions

On Wednesday 14 May 2008 14:44:19 Andrew Perella wrote:
> When a class is wrapped with multiple constructors, the generated sip
> binding code does not raise an exception if the python calling code does
> not provide matching arguments.
>
> Is this by design?

Yes - as far as the code you quote is concerned. The exception is raised 
elsewhere.

Phil
_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

This email has been scanned for all known viruses by the Email Protection
Agency.


This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law. 

This email has been scanned for all known viruses by the Email Protection Agency.


www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322



More information about the PyQt mailing list