It's about ambiguity. Maybe loads is short for load string which in english is also a verb.

Abdur-Rahmaan Janhangeer
http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ
Mauritius

On Thu, 28 Nov 2019, 12:38 Wes Turner, <wes.turner@gmail.com> wrote:
An IDE with support for PEP 484 / mypy / type annotations (and/or writing tests) can help minimize typing-related errors.

https://github.com/python/typeshed/blob/master/stdlib/3/json/__init__.pyi

https://github.com/python/mypy/blob/master/README.md#ide-linter-integrations-and-pre-commit

On Wednesday, November 27, 2019, Eric V. Smith <eric@trueblade.com> wrote:
> 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-leave@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/
> _______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/B6NRPA2ZSO7573T6JFUCRD73PA4Q2YCA/
Code of Conduct: http://python.org/psf/codeofconduct/