27 Nov
2019
27 Nov
'19
8:44 p.m.
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