New submission from Zackery Spytz <zsp...@gmail.com>:

In PR 13739, Eryk Sun mentioned that the Windows implementation of os.dup() 
returns an inheritable fd when handling a character file. A comment in 
_Py_dup() makes it seem as though this is due to a belief that handles for 
character files cannot be made non-inheritable (which is wrong).

----------
components: Extension Modules, Windows
messages: 345494
nosy: ZackerySpytz, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.dup() creates an inheritable fd when handling a character file on 
Windows
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

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

Reply via email to