News for hackers. Stuff that matters.
Re:Currying in Python by Drbble on Monday March 19, 2012 @10:34AM (#3724062)
Yup. The tradeoff is that you lose multiple dispatch based on argument list size (overloading) (Clojure, C++, and Java takes the other side of that tradeoff. I don't know if Python has signature-overloading like that.)
Re:Currying in Python by rplnt on Monday March 19, 2012 @10:46AM (#3724127)
I don't think python has any sort of overloading (based on signature that is). You can use def f(°args, °°kwargs) though. What you'll get is a tuple containing positional arguments and dictionary with keywords arguments. You can even specify some explicitly and then consume all others with this.

edit: ° should've been * but I couldn't escape it without using spaces.