Yes, and I don't think so. I think the worst thing that can happen here is that some error logging doesn't arrive in the desired place.

Still, maybe it's better to have the same check on ``sys.stderr.fileno`` separately.