[issue8110] subprocess.py doesn't correctly detect Windows machines

Zachary Ware report at bugs.python.org
Wed Sep 5 10:53:03 EDT 2018


Zachary Ware <zachary.ware at gmail.com> added the comment:

The real question isn't "are we on Windows?" but rather "should we use msvcrt/_winapi or _posixsubprocess/select?", which is what my PR is designed to better fit.  I could see how we wouldn't want to backport that patch to maintenance branches, though; it's a significant rearrangement.  If we do want to backport *a* fix, I agree that simply adding `or os.name == 'nt'` should be sufficiently low-impact.

----------

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


More information about the Python-bugs-list mailing list