Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:

This seems likely to have been caused by the fixes for #37267, which fixes an 
issue with os.dup leaving character streams inheritable (when the documentation 
specifies that the result must be non-inheritable).

The code originally didn't try to make the descriptor non-inheritable because 
someone believed it wasn't allowed for character files, and the subsequent 
patch comments say "That was a mistake". Is it possible it wasn't allowed on 
Windows 7, and is allowed on Windows 10?

I'm nosying the folks from #37267 for input.

----------
nosy: +ZackerySpytz, josh.r, vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to