New submission from Collin Anderson <cmawebs...@gmail.com>:
isatty() is a system call on linux. Most open()s are files, and we're already getting the size of the file. If it has a size, then we know it's not a atty, and can avoid calling it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45944> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com