Message187877
> A feature that may be actually nice to have in the pickle protocol would
be some framing, to help with streaming unpickling (right now unpickling
a stream can read almost one byte at a time, IIRC).
> However, that would also make the protocol and the pickler significantly
more complex.
What if just use io.BufferedReader?
if not isinstance(file, io.BufferedReader):
file = io.BufferedReader(file)
(at start of _Unpickler.__init__) |
|
Date |
User |
Action |
Args |
2013-04-26 21:42:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix |
2013-04-26 21:42:22 | serhiy.storchaka | set | messageid: <1367012542.84.0.428648045906.issue17810@psf.upfronthosting.co.za> |
2013-04-26 21:42:22 | serhiy.storchaka | link | issue17810 messages |
2013-04-26 21:42:22 | serhiy.storchaka | create | |
|