diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2020-11-01 05:33:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 05:33:08 (GMT) |
commit | d3b4e068077dd26927ae7485bd0303e09d962c02 (patch) | |
tree | 5ab2b61abda89577aa74d5713957976c3f551c6a /Python/pylifecycle.c | |
parent | 3bf0d02f2817c48b6ee61a95b52a6d76ad543be9 (diff) | |
download | cpython-d3b4e068077dd26927ae7485bd0303e09d962c02.zip cpython-d3b4e068077dd26927ae7485bd0303e09d962c02.tar.gz cpython-d3b4e068077dd26927ae7485bd0303e09d962c02.tar.bz2 |
bpo-42146: Unify cleanup in subprocess_fork_exec() (GH-22970)
* bpo-42146: Unify cleanup in subprocess_fork_exec()
Also ignore errors from _enable_gc():
* They are always suppressed by the current code due to a bug.
* _enable_gc() is only used if `preexec_fn != None`, which is unsafe.
* We don't have a good way to handle errors in case we successfully
created a child process.
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions