[issue35674] Expose os.posix_spawnp()

STINNER Victor report at bugs.python.org
Tue Jan 8 06:51:18 EST 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I'm ok to expose posix_spawnp() as os.posix_spawnp().

Even if we expose posix_spawnp() as os.posix_spawnp(), we can still reconsider to add posix_spawnp() feature into os.posix_spawn() as an optional keyword parameter later :-) Honestly, I have no strong preference for the API. My main problem with the keyword option is the risk of name conflict if a new feature is added to posix_spawn() with a name similar to my proposed name "use_path".

----------

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


More information about the Python-bugs-list mailing list