Bug report
#100348 aka #87745 (fix #100349 merged 2022-12-20) is back as a side effect of #31871 (merged 2022-12-24)—caching a bound method as _write_ready creates the reference cycle ._write_ready.__self__ on _SelectorSocketTransport.
Your environment
- CPython versions tested on: 3.9.12, 3.11.3
- Operating system and architecture:
uname -a = Linux delia 6.3.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:42 +0000 x86_64 GNU/Linux
Linked PRs