[Twisted-Python] What can be pickled in the PB?
itamar at itamarst.org
Fri Feb 10 11:40:14 EST 2006
On Sat, 2006-02-11 at 00:22 +0800, Timmy wrote:
> I'm new to twisted PB. I would like to know what can be
> pickled in PB. Can 'file' and 'binary data' be pickled?
"Serialized" may be a better word. You can serialize Python strings
(which can contain arbitrary bytes, which I assume is what you mean by
"binary data"). Python file objects can not be directly serialized, but
you can write code to send their contents.
More information about the Twisted-Python