This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cool-RR
Recipients alexandre.vassalotti, cool-RR, pitrou, terry.reedy
Date 2011-02-26.09:59:17
SpamBayes Score 3.340445e-05
Marked as misclassified No
Message-id <1298714358.61.0.669852394722.issue11299@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Alexandre,

I read your blog post, but I don't understand-- Why does bytecode need to be pickled in order to pickle live generators? I understand that the local variables need to be pickled, (and let's assume they're all pickleable,) and that a pointer to the current instruction needs to be pickled, but why the bytecode? When you pickle a normal function or a class, no bytecode gets pickled, so why does it have to be pickled here?
History
Date User Action Args
2011-02-26 09:59:18cool-RRsetrecipients: + cool-RR, terry.reedy, pitrou, alexandre.vassalotti
2011-02-26 09:59:18cool-RRsetmessageid: <1298714358.61.0.669852394722.issue11299@psf.upfronthosting.co.za>
2011-02-26 09:59:18cool-RRlinkissue11299 messages
2011-02-26 09:59:17cool-RRcreate