summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-12 16:39:42 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-12 16:39:42 (GMT)
commite7efff5bb884d4387bf911511c723c2f6a8c89e1 (patch)
tree10f2e37236d8d7526c5f322e6b8672b74b307770 /Modules
parent2d8d9d57b5212aa8a563393218d5432097d200db (diff)
parent307bccc6ff6670c58f4c20421a29071ff710e6a3 (diff)
downloadcpython-e7efff5bb884d4387bf911511c723c2f6a8c89e1.zip
cpython-e7efff5bb884d4387bf911511c723c2f6a8c89e1.tar.gz
cpython-e7efff5bb884d4387bf911511c723c2f6a8c89e1.tar.bz2
(Merge 3.4) asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
repr(Handle) is shorter for function: "foo" instead of "<function foo at 0x...>". It now also includes the source of the callback, filename and line number where it was defined, if available. repr(Task) now also includes the current position in the code, filename and line number, if available. If the coroutine (generator) is done, the line number is omitted and "done" is added.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions