Guido van Rossum added the comment: Closing the loop is not taken care of by GC, so I would start there. AFAIK that's covered by the docs, but if you think the docs could be clearer please do submit a separate issue with a documentation update (you can easily submit a patch for that!).
It would be more useful as a bug report if you boiled it down to a small stand-alone program that exhibits the bug, rather than saying "in production, after many hours, I get a traceback" (the code you posted by itself is not enough to repro the issue, since you never show what the coroutine does). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26520> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com