by such_a_casual · 10y ago · 0 comments
That statement is against my religious beliefs. Apparently we can stick an f in front of the string, but we can't have default values that work with locals()?
Adding a new syntax that doesn't exist in any language.
vs.
Using sensible default parameters.
-----------------
An argument for why my suggestion would be bad: https://www.python.org/dev/peps/pep-0498/#no-use-of-globals-...
f(**{x:x for x in d})Well, star-star locals. I don't know how to write it according to https://news.ycombinator.com/formatdoc