Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sweetgiorni
· 1y ago · 0 comments
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 :/
Comments
[–]
pansa2
1y ago
That PEP says “rejected”
[–]
snickerdoodle12
1y ago
Thankfully so. As much as I want a shorthand, this syntax wasn't it.
[–]
vovavili
1y 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.