On 11/27/2019 3:24 PM, Abdur-Rahmaan Janhangeer wrote:
Greetings list,
Using 3.7, in json module of the std lib there is json.load and
json.loads . I gather json.loads is more used to convert string to
dict structure. json.load might cause (it already causes) confusions.
Suggestion: Rename json.load() so as not to confuse with json.loads()
You'd either have to breaking existing code, or having 2 identical
functions with different names. In either case, the churn and confusion
would not be worth it.
Eric
_______________________________________________
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/INEF3FGBPP4R2DQXEK5ENBVMAOZRLTMM/
Code of Conduct: http://python.org/psf/codeofconduct/