Re: [Async-sig] pattern for handling interrupt signals in asyncio

2017-08-06 Thread Chris Jerdonek
On Sat, Aug 5, 2017 at 9:41 PM, Chris Jerdonek wrote: > I want to share a pattern I came up with for handling interrupt > signals in asyncio to see if you had any feedback (ways to make it > easier, similar approaches, etc). > Just after sending this email, I learned that approaches like this c

[Async-sig] pattern for handling interrupt signals in asyncio

2017-08-05 Thread Chris Jerdonek
I want to share a pattern I came up with for handling interrupt signals in asyncio to see if you had any feedback (ways to make it easier, similar approaches, etc). I wanted something that was easy to check and reason about. I'm already familiar with some of the pitfalls in handling signals, for e