]> git.ipfire.org Git - thirdparty/tornado.git/commit
platform: Remove tornado.platform.auto.set_close_exec
authorBen Darnell <ben@cockroachlabs.com>
Fri, 26 Jun 2020 21:28:04 +0000 (17:28 -0400)
committerBen Darnell <ben@cockroachlabs.com>
Fri, 26 Jun 2020 21:28:04 +0000 (17:28 -0400)
commite050be1859c476e2158df14aefcec4036cd9c1e0
tree91d4eee41a3957d06839bb41517cae899722681b
parent804460c117d6b7a2e19ea13f2e849dd744906863
platform: Remove tornado.platform.auto.set_close_exec

This function is obsolete: Since python 3.4, file descriptors created
by python are non-inheritable by default (and in the event you create
a file descriptor another way, a standard function os.set_inheritable
is available).

The windows implementation of this function was also apparently
broken, but this went unnoticed because the default behavior on
windows is for file descriptors to be non-inheritable.

Fixes #2867
tornado/autoreload.py
tornado/netutil.py
tornado/platform/auto.py [deleted file]
tornado/platform/auto.pyi [deleted file]
tornado/platform/interface.py [deleted file]
tornado/platform/posix.py
tornado/platform/windows.py [deleted file]
tornado/process.py
tornado/tcpclient.py
tornado/test/runtests.py
tornado/test/windows_test.py [deleted file]