Message88987
Here is a patch to add pickling support to io.BytesIO and io.StringIO.
Although they are non-trivial, the additions were made with a fair
amount of care (and love!) and thus I believe they could be included in
3.1.
Furthermore, the improved test-suite uncovered a number of bugs in the
implementation of io.StringIO. So the patch also fixes:
* fixes a memory-leak in stringio_dealloc;
* disallows bytes-like object from being used as the newline
argument of StringIO;
* and changes the exception raised by StringIO.__init__ to a
TypeError when initial_value is not a str. |
|
Date |
User |
Action |
Args |
2009-06-06 02:21:15 | alexandre.vassalotti | set | recipients:
+ alexandre.vassalotti |
2009-06-06 02:21:15 | alexandre.vassalotti | set | messageid: <1244254875.51.0.0941712294298.issue6218@psf.upfronthosting.co.za> |
2009-06-06 02:21:12 | alexandre.vassalotti | link | issue6218 messages |
2009-06-06 02:21:12 | alexandre.vassalotti | create | |
|