[issue15179] An infinite loop happens when we use SysLogHandler with eventlet

Vinay Sajip report at bugs.python.org
Mon Jun 25 17:06:19 CEST 2012


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

Why should the socket need closing if the connect fails? This seems a flawed contract; either connect() should work (in which case the socket will need closing when it's finished with) or it should fail, not connect and not require a close call (as it isn't connected). Could this be a problem with eventlet? One could argue that the leak is actually in whatever implements socket.connect in this case (presumably eventlet).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15179>
_______________________________________


More information about the Python-bugs-list mailing list