python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run_asyncio() kwargs?

belm0 opened this issue · comments

would it be reasonable for run_asyncio() to propagate kwargs so that partial() isn't needed?

Trio's standard scheme is that positional arguments are for the called procedure while keyword args are for the interloper.

I could certainly teach the run_* functions to be "special", but I'd like a bit more confidence that they will never require kwargs of their own. So, I might do that for 1.0 or thereabouts, but probably not sooner.

that's a fair policy-- closing