[issue35537] use os.posix_spawn in subprocess
STINNER Victor
report at bugs.python.org
Wed Jan 16 17:14:51 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
One of the issue that I have with using posix_spawn() is that the *exact* behavior of subprocess is not properly defined by test_subprocess. Should we more more tests, or document that the exact behavior is "an implementation detail"? I guess that the best for users is get the same behavior on all platforms, but can we really warranty that? Python rely on the operating system and the libc, but each platform has subtle behavior differneces. Handling time and date is a good example: strptime() and strftime() have big differences between platforms. posix_spawn() is another example where the implementation is very different depending on the platform.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35537>
_______________________________________
More information about the Python-bugs-list
mailing list