Y
Hacker News
new
|
ask
|
show
|
jobs
by
sweetgiorni
356 days ago
Python 3.14 adds that shorthand, but with a slight different (and IMO uglier) syntax:
fn(x=,y=,z=)
https://peps.python.org/pep-0736/
edit: nevermind, that PEP was rejected :/
2 comments
pansa2
356 days ago
That PEP says “rejected”
link
snickerdoodle12
356 days ago
Thankfully so. As much as I want a shorthand, this syntax wasn't it.
link
vovavili
356 days ago
By the look of it, the feeling I get is that a decent and convenient syntax proposal has been bikeshedded into rejection. Some particular form of keyword arguments at invocation would definitely make quite a few of my scripts more readable.
link