Side q: Is there yet a way to get ? and/or ?? In IPython/Jupyter to list {typeshed,} annotations?
On Thursday, November 28, 2019, Wes Turner <wes.tur...@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 <e...@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-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/ >>
_______________________________________________ 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/IYCOXAPJ5EP5ERVSMQXTTZS7TN43WJ2Y/ Code of Conduct: http://python.org/psf/codeofconduct/