On Fri, Apr 17, 2020 at 11:57 PM firstname.lastname@example.org 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:
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.