Re: [sage-support] Re: Cython: importing a cdef class

2010-08-04 Thread Robert Bradshaw
On Sat, Jul 31, 2010 at 1:21 AM, Simon King simon.k...@nuigalway.ie wrote: Hi Jeroen! On 31 Jul., 02:30, Robert Bradshaw rober...@math.washington.edu wrote: ... In file A.pyx, I have cdef MyClass myobj cdef class MyClass:    [...] In file A.pxd, I have cdef class MyClass:    

[sage-support] Re: Cython: importing a cdef class

2010-07-31 Thread Simon King
Hi Jeroen! On 31 Jul., 02:30, Robert Bradshaw rober...@math.washington.edu wrote: ... In file A.pyx, I have cdef MyClass myobj cdef class MyClass:    [...] In file A.pxd, I have cdef class MyClass:    [...] In file B.pyx, I would like to access myobj from A.pyx, but how? You