[issue19182] Socket leak in logging.handlers

2013-10-06 Thread Vinay Sajip
Vinay Sajip added the comment: Thanks for the report and patch. This issue only applies to Python 3.4 - it was in new code added in the default branch, and so does not apply to earlier Python releases. -- resolution: -> fixed status: open -> closed versions: -Python 2.7, Python 3.3

[issue19182] Socket leak in logging.handlers

2013-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd314db5532d by Vinay Sajip in branch 'default': Issue #19182: Fixed socket leak on exception when connecting. http://hg.python.org/cpython/rev/bd314db5532d -- nosy: +python-dev ___ Python tracker

[issue19182] Socket leak in logging.handlers

2013-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> vinay.sajip nosy: +vinay.sajip stage: -> patch review versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue19182] Socket leak in logging.handlers

2013-10-06 Thread Esa Peuha
New submission from Esa Peuha: Running test_logging produces the following: /home/peuha/python/cpython/Lib/logging/handlers.py:550: ResourceWarning: unclosed self.retryTime = now + self.retryPeriod /home/peuha/python/cpython/Lib/logging/handlers.py:550: ResourceWarning: unclosed self.ret