mirror of
https://github.com/python/cpython.git
synced 2026-01-28 13:45:18 +00:00
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.