Message237236
By the way, Robert Collins proposed the following change in part of #17911, but it was removed in the final change because asyncio must support Python 3.4 (and 3.3):
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 01320cd..08740aa 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -95,7 +95,7 @@ class Handle:
info.append(_format_callback(self._callback, self._args))
if self._source_traceback:
frame = self._source_traceback[-1]
- info.append('created at %s:%s' % (frame[0], frame[1]))
+ info.append('created at %s:%s' % (frame.filename, frame.lineno))
return info
def __repr__(self): |
|
Date |
User |
Action |
Args |
2015-03-05 02:37:00 | vstinner | set | recipients:
+ vstinner, rbcollins |
2015-03-05 02:37:00 | vstinner | set | messageid: <1425523020.94.0.976378861855.issue23587@psf.upfronthosting.co.za> |
2015-03-05 02:37:00 | vstinner | link | issue23587 messages |
2015-03-05 02:37:00 | vstinner | create | |
|