Message129442
Although, I would really like to see support of pickling generators. It is not really possible in CPython. This is recurrent request. I even wrote a small article about it.
http://peadrop.com/blog/2009/12/29/why-you-cannot-pickle-generators/
Looking how PyPy did it, I see portability problems with the fact it dumps the byte-code of the generator to disk. Python's documentation clearly states that the byte-code is an implementation details and can (and does) change between releases. Hence, this method is not really suitable for pickle which needs to remain compatible across releases. |
|
Date |
User |
Action |
Args |
2011-02-25 22:02:09 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti, terry.reedy, pitrou, cool-RR |
2011-02-25 22:02:09 | alexandre.vassalotti | set | messageid: <1298671329.7.0.136069006284.issue11299@psf.upfronthosting.co.za> |
2011-02-25 22:02:08 | alexandre.vassalotti | link | issue11299 messages |
2011-02-25 22:02:07 | alexandre.vassalotti | create | |
|