[issue25566] asyncio reference cycles after ConnectionResetError

2016-05-30 Thread Guido van Rossum
Guido van Rossum added the comment: Please submit a patch to the upstream asyncio repo, github.com/Python/asyncio. --Guido (mobile) On May 30, 2016 3:46 AM, "Sean Hunt" wrote: > > Sean Hunt added the comment: > > I am 1 of those people who want to handle the error with reconnect code as > it h

[issue25566] asyncio reference cycles after ConnectionResetError

2016-05-30 Thread Sean Hunt
Sean Hunt added the comment: I am 1 of those people who want to handle the error with reconnect code as it happens when using discord.py when the stupid connection is aborted due to Cloudflare being stupid and them thinking a bot made in python is a DDoS like litterally. So, I know of this err

[issue25566] asyncio reference cycles after ConnectionResetError

2015-11-06 Thread Jeroen van der Heijden
New submission from Jeroen van der Heijden: When a ConnectionResetError occurs, reference cycles are created due to __traceback__. As far as I can see there's no way to prevent this to happen since the event loop exception handler is not called for the following events: BrokenPipeError, Connec