wraps(g)(f) raises TypeError when f has keyword-only parameters that g accepts positionally
wraps(g)(f) raises TypeError when f has keyword-only parameters that g accepts positionally: a task in repo2rlenv-swe-next (Harbor dataset). When using wraps(g)(f) from boltons.funcutils , the generated shim adopts g 's signature but calls f . If f declares a parameter as keyword-only (after )…
The task
When using `wraps(g)(f)` from `boltons.funcutils`, the generated shim adopts `g`'s signature but calls `f`. If `f` declares a parameter as keyword-only (after `*`) that `g` accepts positionally, the shim forwards the argument positionally and `f` raises a `TypeError`.
Part of FineEnvs/repo2rlenv-swe-next.