[Python-Dev] When to use EOFError? (original) (raw)

Serhiy Storchaka storchaka at gmail.com
Sat Jun 25 17:21:36 EDT 2016


On 22.06.16 00:17, Victor Stinner wrote:

When loading truncated data with pickle, I expect a pickle error, not a generic ValueError nor EOFError.

Many modules raise EOFError when read truncated data.



More information about the Python-Dev mailing list