Re: Pyrex problem with cdef'd attribute

2007-06-10 Thread Michael Hoffman
[EMAIL PROTECTED] wrote: > I'll play around a bit > more and if I continue to confuse myself will subscribe to the pyrex mailing > list (or at least use the somewhat clunky gmane.org interface). I find that using a newsreader for gmane stuff is far more convenient. I use Thunderbird to access va

Re: Pyrex problem with cdef'd attribute

2007-06-08 Thread skip
>> I'm using Pyrex 0.9.5.1a. I have this simple Pyrex module: Klaas> You might get more help on the pyrex list. Thanks. On the Pyrex website it says that questions are welcome here as well. I was hoping to avoid yet another mailing list subscription. ;-) Klaas> Yes, since you did

Re: Pyrex problem with cdef'd attribute

2007-06-08 Thread Klaas
On Jun 8, 6:00 am, [EMAIL PROTECTED] wrote: > I'm using Pyrex 0.9.5.1a. I have this simple Pyrex module: You might get more help on the pyrex list. > cdef class Foo: > cdef public char attr > > def __init__(self): > self.attr = 0 > > class Bar(Foo): >

Pyrex problem with cdef'd attribute

2007-06-08 Thread skip
I'm using Pyrex 0.9.5.1a. I have this simple Pyrex module: cdef class Foo: cdef public char attr def __init__(self): self.attr = 0 class Bar(Foo): def __init__(self): Foo.__init__(self) self.attr2 = None def mod(self):