[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
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
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):
def
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 didn't
Hi,
When trying to wrap C code using Pyrex, I encountered a strange problem with a
piece of pure Python code. I tried to isolate the problem. The following code
causes Pyrex to generate C code which gcc cannot compile:
class Axis:
axtype = unknown type of axis
def __init__(self):
Hans Terlouw wrote:
When trying to wrap C code using Pyrex, I encountered a strange problem
with a piece of pure Python code. I tried to isolate the problem. The
following code causes Pyrex to generate C code which gcc cannot compile:
It works for me. Try posting your error messages and
hi everyone
i'm newbie
i try to compile the pyrex module:
def controlla(char *test):
cdef int limitem,lunghezz,li,l2,f,ii,kk
cdef char *t1
cdef char *t2
limitem=4
lunghezz=len(test)
l1=lunghezz-limitem+1
l2=lunghezz-limitem+1
f=0
for ii from 0 = ii l1-1:
On Fri, Jun 17, 2005 at 01:03:14AM -0700, [EMAIL PROTECTED] wrote:
hi everyone
i'm newbie
i try to compile the pyrex module:
def controlla(char *test):
You cannot have a C datatype in a Python like that.
Much better to use def controlla(test):
Andreas
--