[issue38435] Start the deprecation cycle for subprocess preexec_fn

Gregory P. Smith report at bugs.python.org
Fri Dec 25 01:31:32 EST 2020


Gregory P. Smith <greg at krypto.org> added the comment:

Doing the code inspection of existing preexec_fn= users within our codebase at work is revealing.  But those seem to be the bulk of uses.

I expect this deprecation to take a while.  Ex: if we mark it as PendingDeprecationWarning in 3.10, I'd still wait until _at least_ 3.13 to remove it.

Code using it often has a long legacy and may be written to run on a wide variety of Python versions.  It's painful to do so when features you need in order to stop using it are still only in modern versions.

----------
components: +Library (Lib)

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38435>
_______________________________________


More information about the Python-bugs-list mailing list