summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-12 16:39:26 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-12 16:39:26 (GMT)
commit307bccc6ff6670c58f4c20421a29071ff710e6a3 (patch)
treee165b2e33505bcece03948112ca230af5d2d2688 /Python
parentf54432e2a16d445ed6fa142a9c5d8d23b11780b2 (diff)
downloadcpython-307bccc6ff6670c58f4c20421a29071ff710e6a3.zip
cpython-307bccc6ff6670c58f4c20421a29071ff710e6a3.tar.gz
cpython-307bccc6ff6670c58f4c20421a29071ff710e6a3.tar.bz2
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 'Python')
0 files changed, 0 insertions, 0 deletions