diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-24 20:57:14 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-24 20:57:14 (GMT) |
commit | df29c4a83d13d96cfcf809e648ee9b31a4174729 (patch) | |
tree | b6ace06d471e23e2aabaf352fde32f8ed02241f0 /Lib/test/test_robotparser.py | |
parent | 14199f939278d67804cf44ef0b9d32f998c62d58 (diff) | |
download | cpython-df29c4a83d13d96cfcf809e648ee9b31a4174729.zip cpython-df29c4a83d13d96cfcf809e648ee9b31a4174729.tar.gz cpython-df29c4a83d13d96cfcf809e648ee9b31a4174729.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_robotparser.py')
0 files changed, 0 insertions, 0 deletions