my big concern is that sys.stderr and/or sys.stdout, either a reference or (parts of) the object itself, could be cached by whatever code that accesses sys.stderr and/or sys.stdout has cached. as such, i would rather not try to update sys.stderr and/or sys.stdout in any way, and, instead, update the system reference (file descriptor in POSIX), instead.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.