Apptools provides the sweet_pickle subpackage to handle versioning of pickled objects to allow unpickling of objects after changes to the class structure.
The persistence subpackage has a slightly different focus: it is more about extracting state as a dictionary, but it has similar themes.
Mayavi uses persistence, but it also uses apptools.naming which internally uses sweet_pickle, so we cannot simply deprecate sweet_pickle.
Apptools provides the
sweet_picklesubpackage to handle versioning of pickled objects to allow unpickling of objects after changes to the class structure.The
persistencesubpackage has a slightly different focus: it is more about extracting state as a dictionary, but it has similar themes.Mayavi uses
persistence, but it also usesapptools.namingwhich internally usessweet_pickle, so we cannot simply deprecatesweet_pickle.