[Python-ideas] Parallel processing with Python

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 19 21:54:27 CET 2009


Sturla Molden wrote:

> Interpreter B:
>    Creates a proxy object p for reading attributes of x

This is not sufficient. When code running in interpreter
B reads an attribute of x via the proxy, it will get a
reference to some other object belonging to interpreter A.

> This would depend on immutability of the message object.

Immutability doesn't save you. Even immutable objects get
their refcounts adjusted just like any other object.

-- 
Greg



More information about the Python-ideas mailing list