On Apr 27, 2009, at 8:12 AM, Mohamed Lrhazi wrote:

> Extension types are defined as "class", which the python user would
> "instantiate".
>
> Can I assume that every Python instance, using my module,  will have
> its own instance of that "class"?

I'm not sure at all what your asking here, but I believe the answer  
is that things behave just like Python. I.e. if I write

class A:
     pass

cdef class B:
     pass

Then there will be exactly one instance of A and one instance of B  
floating around (just like there's one tuple type, one list type, etc.)

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to