Message 215329 - Python tracker
Oh, the error message comes from deep in the guts of python, yes. I'm saying that the fact that partial lets you write partial(foo, a='bar') when a is a positional argument is a bug. Even if other people agree with me (and they may not, "consenting adults" and all that), it may be a bug we are stuck with.