5 Mar 12:11
Re: [Simpy-developer] Fwd: Pickling of generators
Klaus Muller <kgmuller <at> xs4all.nl>
2007-03-05 11:11:13 GMT
2007-03-05 11:11:13 GMT
Steve, First of all, many thanks for approaching Brett Cannon. I am glad that he is not opposed to pickling generators. There certainly is a requirement for it. Unfortunately, I have no insight into the inner workings of Python at runtime. I therefore have no idea of a design for pickling generators. My spec is really just "pickle the generator state (not the code) and generate code which allows branching (based on state) to the point (yield) where the generator was at pickling time". Anybody out there who can help? I believe that this is worth pursuing, as we have a valid requirement which can be met. Klaus Müller > -----Original Message----- > From: simpy-developer-bounces <at> lists.sourceforge.net > [mailto:simpy-developer-bounces <at> lists.sourceforge.net] On > Behalf Of Steven H. Rogers > Sent: Saturday, February 24, 2007 4:04 AM > To: Gregory Smith > Cc: simpy-users <at> lists.sourceforge.net; Klaus Muller; > simpy-developer <at> lists.sourceforge.net > Subject: Re: [Simpy-developer] [Simpy-users] Fwd: Pickling of > generators > > Thanks Greg:(Continue reading)
RSS Feed