On Fri, Apr 17, 2020 at 11:57 PM <oliveira.rodrig...@gmail.com> wrote:
>
> @ChrisAngelico I do prefer the original proposal, though I do see the point 
> of it being harder for beginner to understand.
>
> The mode-switch proposal though would not impede one to mix shorthand and 
> longhand forms. This should be valid syntax:
>
> ```python
> return render_template("index.html", *,
>     twitter, username=user["display_name"],
>     channel, channelid, error,
>     setups=database.list_setups(channelid),
>     sched_tz, schedule, sched_tweet,
>     checklist=database.get_checklist(channelid),
>     timers=database.list_timers(channelid),
>     tweets,
> )
> ```
>
> I'll wait the weekend is through to then assess if we can reach consensus or 
> just reject the proposal.
>

Hmm, I see what you mean. It's not a modeswitch to shorthand, it's a
modeswitch to keyword-only parameters. I think it's still vulnerable
to the problem of near-identical syntax having extremely different
semantics, but it's at least less annoying that way.

But I still definitely prefer the original proposal.

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

Reply via email to