Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22435
___
Martin Panter added the comment:
This is fixed in 3.4.3. I think it can be closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22435
___
___
Roundup Robot added the comment:
New changeset 437002018d2d by Charles-François Natali in branch '2.7':
Issue #22435: Fix a file descriptor leak when SocketServer bind fails.
https://hg.python.org/cpython/rev/437002018d2d
--
nosy: +python-dev
___
Roundup Robot added the comment:
New changeset 9c8016af2ed8 by Charles-François Natali in branch '3.4':
Issue #22435: Fix a file descriptor leak when SocketServer bind fails.
https://hg.python.org/cpython/rev/9c8016af2ed8
New changeset 3bd0f2516445 by Charles-François Natali in branch
Antoine Pitrou added the comment:
Patch looks of to me.
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22435
___
___
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:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22435
___
___
Python-bugs-list mailing
New submission from Martin Panter:
Bind method may easily fail on Unix if there is no permission to bind to a
privileged port:
try: TCPServer((, 80), ...)
... except Exception as err: err
...
PermissionError(13, 'Permission denied')
gc.collect()
__main__:1: ResourceWarning: unclosed