Re: [Async-sig] awaiting task is not chaining exception

2017-11-12 Thread Nathaniel Smith
On Sun, Nov 12, 2017 at 7:27 AM, Guido van Rossum wrote: > On Sun, Nov 12, 2017 at 2:53 AM, Chris Jerdonek > wrote: >> >> By the way, since we're already on the subject of asyncio tasks and >> (truncated) stack traces, this looks like a good

Re: [Async-sig] awaiting task is not chaining exception

2017-11-12 Thread Guido van Rossum
On Sun, Nov 12, 2017 at 2:53 AM, Chris Jerdonek wrote: > By the way, since we're already on the subject of asyncio tasks and > (truncated) stack traces, this looks like a good opportunity to ask a > question that's been on my mind for a while: > > There's a mysterious

Re: [Async-sig] awaiting task is not chaining exception

2017-11-12 Thread Chris Jerdonek
By the way, since we're already on the subject of asyncio tasks and (truncated) stack traces, this looks like a good opportunity to ask a question that's been on my mind for a while: There's a mysterious note at the end of the documentation of asyncio.Task's get_stack() method, where it says-- >

Re: [Async-sig] awaiting task is not chaining exception

2017-11-11 Thread Nathaniel Smith
On Fri, Nov 10, 2017 at 9:52 PM, Chris Jerdonek wrote: > Hi, I recently encountered a situation with asyncio where the stack > trace is getting truncated: an exception isn't getting chained as > expected. > > I was able to reduce it down to the code below. > > The