[issue32454] Add socket.close(fd) function

2018-01-27 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue32454] Add socket.close(fd) function

2018-01-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset d0e31b980f18101738d0ec518cb991a5fb73fe93 by Christian Heimes in branch 'master': bpo-32454: socket closefd (#5048) https://github.com/python/cpython/commit/d0e31b980f18101738d0ec518cb991a5fb73fe93 -- _

[issue32454] Add socket.close(fd) function

2017-12-30 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Python-bugs-list maili

[issue32454] Add socket.close(fd) function

2017-12-30 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +4930 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32454] Add socket.close(fd) function

2017-12-30 Thread Christian Heimes
New submission from Christian Heimes : os.close(fd) of a socket fd does not work some platforms, e.g. Windows. In the past we have used socket.socket(fileno=fd).close() to close a socket in a platform independent way. With #28134 it may no longer work in all cases, most noticeable when the soc