Message129565
The value of the instruction pointer depends on the byte-code. So it's not portable either.
But, the bigger issue is the fact generator objects do not have names we can refer to, unlike top-level functions and classes which pickle supports. Similarly, we can't pickle lambdas and nested-functions for this exact reason.
Personally, I haven't found a way around this. But, that doesn't mean there isn't one. If you find one, I will more than pleased to review it. |
|
Date |
User |
Action |
Args |
2011-02-26 16:03:38 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti, terry.reedy, pitrou, cool-RR |
2011-02-26 16:03:38 | alexandre.vassalotti | set | messageid: <1298736218.15.0.74616521234.issue11299@psf.upfronthosting.co.za> |
2011-02-26 16:03:21 | alexandre.vassalotti | link | issue11299 messages |
2011-02-26 16:03:21 | alexandre.vassalotti | create | |
|