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

That PEP says “rejected”
Thankfully so. As much as I want a shorthand, this syntax wasn't it.
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.