pysipp icon indicating copy to clipboard operation
pysipp copied to clipboard

Async support via `trio`

Open goodboy opened this issue 6 years ago • 2 comments

trio recently added native subprocess support which could make for some really fancy stuff for spawing sipp processes and await-ing them before spawning it again. Though a bit hacky could make way for composing multiple simpler scenarios in native async python code.

Thoughts on this @vodik @wdoekes?

goodboy avatar Jul 04 '19 19:07 goodboy

I'm all in favor of using the new python async stuff. If trio makes things easier: sure, it looks like a nice lib.

wdoekes avatar Jul 05 '19 08:07 wdoekes

trio will make things wayyy more sensible to reason about. I'm tempted to start a py3.6+ release that uses it alone and strip out subprocess.

I'll wait and see what others think.

goodboy avatar Jul 05 '19 13:07 goodboy