Author eryksun
Recipients Segev Finer, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-16.01:50:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615859421.62.0.213018300689.issue30555@roundup.psfhosted.org>
In-reply-to
Content
PR 1927 is a definite improvement. By using _get_osfhandle() instead of caching the handle value, it guarantees that access to the original console file can be saved and restored via `fd_save = dup(fd)` and `dup2(fd_save, fd)`. It also allows duping a new open of CON, CONIN$, or CONOUT$, or even a new screen buffer from CreateConsoleScreenBuffer(), to the existing fileno(), and the _WindowsConsoleIO() instance will march along none the wiser.
History
Date User Action Args
2021-03-16 01:50:21eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Segev Finer
2021-03-16 01:50:21eryksunsetmessageid: <1615859421.62.0.213018300689.issue30555@roundup.psfhosted.org>
2021-03-16 01:50:21eryksunlinkissue30555 messages
2021-03-16 01:50:21eryksuncreate