Yes, -1.

I feel like we should add a header to all messages on this list:


I know I'm being snarky, but too many of the recent ideas feel like code golf for uncommon user cases. Or at least not common enough to warrant the cognitive burden of more syntax.

On Oct 28, 2016 2:42 PM, "Paul Moore" <> wrote:
On 28 October 2016 at 22:25, Sven R. Kunze <> wrote:
> So, instead providing this kind of syntax for dicts only, why not also
> providing them for kwargs? Basically marking arguments as keyword arguments:
> my_func(:param1, :param2)
> ":param" equals "param=param" again but as already said that might just be
> placeholder syntax.
> What do you think?

-1. I don't like the use of the colon here. I don't think there's any
need to avoid the repetition in arg_name=arg_name, it's a common
convention, easy to read and understand, and even to write with a bit
of editor support. Explicit is better than implicit implies here, IMO.

Python-ideas mailing list
Code of Conduct: