Author Diego Palacios
Recipients Diego Palacios
Date 2020-03-26.11:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The pickle functions dump and load are often used in the following lines:

import pickle

fname = '/path/to/file.pickle'

with open(fname, 'rb') as f:
    object = pickle.load(f)

The load function should also accept a file name (string) as input and automatically open and load the object. The same should happen for the dump function. This would allow a simple use of the functions:

object = pickle.load(fname)

This is what many users need when reading and storing and object from/to a file.
Date User Action Args
2020-03-26 11:25:16Diego Palaciossetrecipients: + Diego Palacios
2020-03-26 11:25:16Diego Palaciossetmessageid: <>
2020-03-26 11:25:16Diego Palacioslinkissue40074 messages
2020-03-26 11:25:15Diego Palacioscreate