Serializing functions

Chris Rebert clp2 at rebertia.com
Thu Jun 17 21:59:37 EDT 2010


2010/6/17 Andreas Löscher <andreas.loescher at s2005.tu-chemnitz.de>:
> Am Donnerstag, den 17.06.2010, 18:03 +0200 schrieb Andreas Löscher:
>> Am Donnerstag, den 17.06.2010, 08:18 -0700 schrieb Paul Rubin:
>> > 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.
>>
>> There was a similar thread a while ago.
>>
>
> Ah I found it:
> Search for:
>
> "Object serialization: transfer from a to b (non-implemented code on b)"
>
>  in this mailing list.
>
> Is there a good way to link a former thread?

Link to the python.org archive of python-list or the google groups
c.l.p thread. In this case:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/6c65564f644e327f/62ef889a6e8ab886

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list