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 serhiy.storchaka
Recipients Arfrever, alexandre.vassalotti, asvetlov, neologix, pitrou, rhettinger, serhiy.storchaka
Date 2013-04-26.21:42:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:22serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix
2013-04-26 21:42:22serhiy.storchakasetmessageid: <>
2013-04-26 21:42:22serhiy.storchakalinkissue17810 messages
2013-04-26 21:42:22serhiy.storchakacreate