commit | 5c2f5ab46541c6cacd3a69f6b5bbdfdf3d78aff2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Jun 24 22:58:23 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Jun 24 22:58:23 2014 +0200 |
tree | 509de0c30946158902b0cf570c8176b8f507d5b0 | |
parent | 24a3c72638c1bbaa2d1351553b73627dab5df5ee [diff] | |
parent | df29c4a83d13d96cfcf809e648ee9b31a4174729 [diff] |
(Merge 3.4) asyncio: repr(Task) now also contains the line number even if the coroutine is done: use the first line number of the code object instead of the current line number of the generator frame. The name of the coroutine is not enough because many coroutines may have the same name. It's a common case in asyncio tests for example.