New submission from Collin Anderson <[email protected]>:

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 <[email protected]>
<https://bugs.python.org/issue45944>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to