Pickle Question

Oleg Broytmann phd at phd.russ.ru
Mon Jun 26 11:54:57 EDT 2000


On Thu, 22 Jun 2000, Jerome Chan wrote:
> If I unpickle from a non - pickled file or byte stream what error does 
> Pickle throw? I've gotten both KeyError and EOFError, does it throw 
> anything else?

   Sometimes it "throws" segmentation fault, and you cannot catch this.
There is a bug in cPcikle (which I beleieve fixed in 1.6).

Oleg.            (All opinions are mine and not of my employer)
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list