[Cython] About extension types...
Robert Bradshaw
robertwb at math.washington.edu
Tue Apr 28 01:59:46 CEST 2009
On Apr 27, 2009, at 3:57 PM, Mohamed Lrhazi wrote:
> On Mon, Apr 27, 2009 at 5:34 PM, Robert Bradshaw
> <robertwb at math.washington.edu> wrote:
>>
>> class A:
>> pass
>>
>> cdef class B:
>> pass
>>
>
> I meant if this module is called foo, and I have two python instances
> running that both import foo, and both instantiate class A, would
> there be one such "A" shared by both processes/Pythons?
No, Python has no mechanism (other than explicit pickling/message
passing) to share data across multiple processes.
- Robert
More information about the Cython-dev
mailing list