lucianopaz / compress_pickle

Standard python pickle, thinly wrapped with standard compression libraries
MIT License
42 stars 11 forks source link

Raise TypeError in instantiate_compressers if trying to infer compression from a file-like object #35

Closed lucianopaz closed 3 years ago

lucianopaz commented 3 years ago

This closes #33 and #34

It ensures that the correct exception is raised when trying to instantiate a compresser from a file-like object with the "infer" compression protocol.