[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] A few minor sip issues
From:       Gerard Vermeulen <gerard.vermeulen () grenoble ! cnrs ! fr>
Date:       2005-04-30 12:17:15
Message-ID: 20050430141715.64247bb2.gerard.vermeulen () grenoble ! cnrs ! fr
[Download RAW message or body]

Phil,

I am sorry: my code generator is fooling me (it does not generate
all pure virtual member functions).

Gerard


On Sat, 30 Apr 2005 10:49:01 +0100
Phil Thompson <phil@riverbankcomputing.co.uk> wrote:

> On Friday 29 April 2005 5:04 am, Gerard Vermeulen wrote:
> > Phil,
> >
> > (1) /Abstract/ and protected pure virtual member functions.  SIP does not
> > recognize a C++ class as abstract which is abstract only because of a
> > **protected** pure virtual member function.  I still need to use the
> > /Abstract/ annotation.
> 
> Which version of SIP? The following...
> 
> %Module t
> 
> class Foo
> {
> protected:
> 	virtual void bar() = 0;
> };
> 
> ...seems to do the right thing with the current snapshot.
> 
> >     There is a typo in the docs for Abstract:
> >     "This boolean annotation is used specify .." must become
> >                             ".. used to specify .."
> 
> Fixed.
> 
> > (2) siplib's "list index out of range" is rather specific as exception text:
> > >>> import coin3d
> > >>> print coin3d.SbVec2s()[2]
> >
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> > IndexError: list index out of range
> >
> >
> >    My first reaction was: "what list?". I am getting used to it, but
> >    "index out of range" is more general.
> 
> I've changed it to "sequence index out of range".
> 
> Thanks,
> Phil
> 

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic