uqfoundation/dill

loading pickle files from any class

Closed this issue · 0 comments

When trying to load a .pickle file that was made in a different file than the one I created it in (loading from x.py when the .pickle file was created in y.py), it doesn't allow me: No module named "x".

Why are .pickle files associated with a certain class name? A simple trick is to rename my working file, but I would rather keep the original name.

The method in question is StockUnpickler.find_class() when called from dill.load()