On Tue, Jun 07, 2022 at 02:28:51PM -0000, martineznicolas41...@gmail.com wrote:

> Do you know if there has been discussions around why is the default 
> argument is positional only in the dict methods get and pop?

Its probably just left over from earlier versions of Python when builtin 
functions only used positional arguments.

Positional arguments are a little faster than keyword arguments, and 
especially for builtin functions, easier to program.

You could try making an enhancement request on the bug tracker and see 
if any one is willing to do the work.

-- 
Steve
_______________________________________________
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/XX5IGYNZHBGVBWTKDAYRV7IH7P44TLDB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to