On Thu, Sep 17, 2020 at 9:53 AM <lammenspa...@gmail.com> wrote: > > 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. >
marshal is the other one in that set, and a quick 'git grep' shows that plistlib also has that API. The xmlrpc.client module also has dumps/loads, but not dump/load. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/AWJNAL5ZHJ25KQFEV4UNAWA6O3KXW6RT/ Code of Conduct: http://python.org/psf/codeofconduct/