cpython/Misc/NEWS.d
Gregory P. Smith ce34410b8b
bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242)
When subprocess.Popen() stdin= stdout= or stderr= handles are specified
and appear in pass_fds=, don't close the original fds after dup'ing them.

This implementation and unittest primarily came from @izbyshev (see the PR)

See also b89b52f284

This also removes the old manual p2cread, c2pwrite, and errwrite closing logic
as inheritable flags and _close_open_fds takes care of that properly today without special treatment.

This code is within child_exec() where it is the only thread so there is no
race condition between the dup and _Py_set_inheritable_async_safe call.
2018-09-10 17:46:22 -07:00
..
next bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242) 2018-09-10 17:46:22 -07:00
3.5.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.2rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.3rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.4rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.5rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.3rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.4rc1.rst bpo-30722: Fix NEWS entries (GH-8501) 2018-07-27 18:49:58 +03:00
3.6.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.5rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.6.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.6rc1.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.7.0a1.rst Fix spaces added after hyphens in news entries. (GH-7579) 2018-06-10 09:46:50 +03:00
3.7.0a2.rst Fix spaces added after hyphens in news entries. (GH-7579) 2018-06-10 09:46:50 +03:00
3.7.0a3.rst bpo-30722: Fix NEWS entries (GH-8501) 2018-07-27 18:49:58 +03:00
3.7.0a4.rst bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) 2018-01-28 14:09:40 -05:00
3.7.0b1.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b2.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b3.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b4.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b5.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0rc1.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00