Safety of pickle?

Skip Montanaro skip at pobox.com
Sat Mar 13 19:54:18 EST 2004


    Leif> Is it safe to unpickle data from an untrusted source? 

No.

    Leif> Is it safe to use the values returned without lots of annoying
    Leif> type checking?

Depends upon how much validation you did before unpickling.

Skip





More information about the Python-list mailing list