[Twisted-Python] Python 3: Odd failure to print unhandled error tb

Glyph glyph at twistedmatrix.com
Wed May 30 23:33:45 MDT 2018



> On May 30, 2018, at 10:04 PM, Jason Litzinger <jlitzingerdev at gmail.com> wrote:
> 
> Any thoughts on why no traceback is printed for case 1?  Is it even
> worth worrying about?

My guess is that since `d` is at the global scope, it doesn't get garbage collected until some unfortunately late phase in the interpreter tear-down where maybe stderr isn't even available any more.

I'd definitely ignore this case for now and fix the others, which are much more serious, and tractable to fix ;).

-g
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180530/8b1a8540/attachment-0002.html>


More information about the Twisted-Python mailing list