Serializing functions
Paul Rubin
no.email at nospam.invalid
Thu Jun 17 11:18:36 EDT 2010
Matteo Landi <landimatte at gmail.com> writes:
> I could be wrong, but it seems functions are not marshable objects, is
> it right?
Hmm, you're right, you can marshal code objects, but you can't marshal a
function directly. It's been a while since I've used marshal and I
forgot how it works. You might be able to concoct something around it,
but it could be messy. It may be simplest to send the other side a
python source file that it can import.
More information about the Python-list
mailing list