mirror of https://github.com/python/cpython
5e437fb872
This works by not caching the handle and instead getting the handle from the file descriptor each time, so that if the actual handle changes by fd redirection closing/opening the console handle beneath our feet, we will keep working correctly. |
||
---|---|---|
.. | ||
_iomodule.c.h | ||
bufferedio.c.h | ||
bytesio.c.h | ||
fileio.c.h | ||
iobase.c.h | ||
stringio.c.h | ||
textio.c.h | ||
winconsoleio.c.h |