
Sept. 16, 2020
4:49 p.m.
Maybe unrelated, but the same goes for `pickle.load` and `pickle.dump`. For consistencies, any changes made to `json.load` and `json.dump` (e.g. adding `json.loadf` and `json.dumpf` or accepting a path like as argument) should be also applied equivalently to `pickle.load` and `pickle.dump`. Off the top of my head, I can't think of any more places in the standard library with the same parallel structure.