[issue39116] StreamReader.readexactly() raises GeneratorExit on ProactorEventLoop

twisteroid ambassador report at bugs.python.org
Tue Oct 20 13:41:55 EDT 2020


twisteroid ambassador <twisteroid.ambassador at gmail.com> added the comment:

I have attached a script that should be able to reproduces this problem. It's not a minimal reproduction, but hopefully easy enough to trigger.

The script is a SOCKS5 proxy server listening on localhost:1080. In its current form it does not need any external dependencies. Run it on Windows 10 + Python 3.9, set a browser to use the proxy server, and browse a little bit, it should soon start printing mysterious errors involving GeneratorExit.

----------
Added file: https://bugs.python.org/file49532/prettysocks.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39116>
_______________________________________


More information about the Python-bugs-list mailing list