[Python-ideas] PEP pre-draft: Support for indexing with keyword arguments

Joseph Martinot-Lagarde joseph.martinot-lagarde at m4x.org
Wed Jul 2 21:17:15 CEST 2014


Le 02/07/2014 09:45, Nicholas Cole a écrit :
>
>     It's a well written PEP, but the "just use call notation instead"
>     argument is going to be a challenging one to overcome.
>
>
> +1
>
> The advantages the PEP suggests are very subjective ones to do with
> readability.

Well, "Readability counts" is in the zen of python !

Having recently translated a Matlab program to python, I can assure you 
that the notation difference between call and indexing is really useful.
.get() does not looks like indexing.



More information about the Python-ideas mailing list