I like the deep importing of `is_a_tty` and `environ` better. It's not like they're going to get confused with other, more local symbols of the same name. I typically import shallow only when a name is otherwise ambiguous or uninformative, e.g. `os.open`.