]> granicus.if.org Git - python/commitdiff
(Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback where
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Jun 2014 11:55:28 +0000 (13:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Jun 2014 11:55:28 +0000 (13:55 +0200)
Future, Task and Handle objects are created. Pass the traceback to
call_exception_handler() in the 'source_traceback' key.

The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.

Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.


Trivial merge