Can functools.partial be used to bind arbitrary positional arguments?
<p>Suppose you want to define a <em>partial</em> setting the positional arguments in an arbitrary order, i.e. you want to apply <em>partial</em> to <em>str.split</em> fixing the 2nd and 3th arguments. The desired result is the same as:</p>

<pre><code>lambda s: str.rsplit(s, SEP, 1) # SEP given.
</code></pre>

<p>(I use <code>str.rsplit(s...</code> instead of <code>s.rsplit(...</code> to make the point more clear).</p>

<p>Some approximation using <em>functools.partial</em> is:</p>

<pre><code>partial(str.rsplit, sep=SEP, maxsplit=1) # SEP given
</code></pre>

<p>But <em>str.rsplit</em> doesn't use keyword arguments, only positional.</p>

<p>How to fix those arguments in partial?
Are the only choices lamda and wrappers?</p>

<p>wrappers are ugly if you want to define the function inline, like defining it for an argument wating for a function. <em>Lambda</em> is the <em>defacto</em> here, and <em>partial</em> is the other option, but it seems to lack in this case.</p>
