[Python-ideas] Improving fn(arg=arg, name=name, wibble=wibble) code

Anders Hovmöller boxed at killingar.net
Thu Sep 13 03:39:01 EDT 2018

> Summary: Michael Selik has produced a nice refactoring of an example.
> I suggest further refactoring, to create a function decorator that
> does the job. This might be useful if the example is an instance of a
> common use pattern.

It seems to me this discussion has drifted away from the original discussion toward one where you have a chain of functions with the same or almost the same signature. This is interesting for sure but we shouldn’t forget about the original topic: how can we make it less painful to use keyword arguments? 

Just my two cents. 

/ Anders

More information about the Python-ideas mailing list