Martin Panter added the comment:
Yes, in all cases I understand it is just the file descriptor that matters.
Perhaps any documentation update could also take Issue 24358 into account,
which points out that compressed and buffered file object wrappers also cause
inconsistencies in the data at t
New submission from Yclept Nemo:
From: https://docs.python.org/dev/library/subprocess.html#popen-constructor
"..., an existing file descriptor (a positive integer), an existing file
object, and None."
It should be made clear that the file object must be backed by an operating
system file, i.e