Charles-François Natali added the comment: Patch attached. The test wouldn't result in FD exhaustion on CPython because of the reference counting, but should still trigger RessourceWarning.
---------- keywords: +patch nosy: +haypo, pitrou stage: -> patch review Added file: http://bugs.python.org/file36665/socketserver_bind_leak.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com