[Twisted-Python] does twisted.* support mobile code?
Jean-Paul Calderone
exarkun at divmod.com
Sat Nov 5 18:18:14 EST 2005
On Sat, 05 Nov 2005 14:21:25 -0800, Andrew Straw <strawman at astraw.com> wrote:
>Hi,
>
>Does any part of twisted support mobile Python code? Something like
>Pyro's Mobile Code objects?
>http://pyro.sourceforge.net/manual/7-features.html#mobile
I wrote out a big long screed in response to this, but then decided
it was probably overly harsh.
No, Twisted does not support this. The lack of support is intentional.
There are a huge number of security-related issued with doing what Pyro
does, so Twisted doesn't do it.
In fact, PB goes in the other direction: even if the code defining the
class of an instance passed over PB is available on both sides, it _still_
might not be accepted by the recipient, if it has not been explicitly
marked as safe by the recipient.
Jean-Paul
More information about the Twisted-Python
mailing list