Marshal unserialization - not secure
问题 I work on a project where I use cPickle to load files quickly. A couple of days ago I read that marshal can be even faster than cPickle . It works for me, but I'm curious, what is this warning from the documentation about: Warning The marshal module is not intended to be secure against erroneous or maliciously constructed data. Never unmarshal data received from an untrusted or unauthenticated source. What could exactly happen if I'm not careful? 回答1: Marshal There are no known ways to