On Apr 27, 2009, at 3:57 PM, Mohamed Lrhazi wrote:

> On Mon, Apr 27, 2009 at 5:34 PM, Robert Bradshaw
> <[email protected]> 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

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

Reply via email to