Pass additional kwargs to pickle.load (in __load)#5
Pass additional kwargs to pickle.load (in __load)#5stsievert wants to merge 2 commits intoraamana:masterfrom
Conversation
|
Thanks Scott for the PR - could you elaborate on the use cases for this? Perhaps give me an example. |
|
Any of the use cases supported by the keyword args for pickle.load. I seem to remember some headache with saving under Python 2 and loading under Python 3 (or something like that). pickle.load did not have any kwargs under Python 2 (source) but does under Python 3 (source). |
|
I see, good idea. Would you have time to add that that too and add a few tests to ensure they work well together? If possible try to make it work python 2.7 as well, but if its not possible, its not critical. |
Does this not work under Python 2.7?
I've added passing kwargs on in MLDataset.save, but don't have time to write tests. If you're constrained and can't write files in your tests, I'd look into using a |
No description provided.