1. 3
  1.  

  2. 1

    A decent minimal primer on pickle for the data science crowd, but man does it worry me to see the author pickling to a db BLOB without any discussion of the security concerns. Also the pull quote:

    Any Python object can be saved to a file using pickle.dump, and the exact same object can be loaded from the file using pickle.load

    Sort of completely glosses over the fact that lots of Python objects are un-picklable without programmer intervention. Custom class instances are often going to need customized __getstate__ and __setstate__ methods to be serialized.