t: 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.
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
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?
Eg:
extern "C" {static void *init_CutScenePythonState(sipWrapper *, PyObject *,
sipWrapper **