Martin v. Löwis <mar...@v.loewis.de> added the comment: The S_ISDIR test is to prevent the case
python < /etc Is it really possible to invoke Python in such a way on CE? If not, it would be better if the entire test wasn't performed on CE. If it does get performed, I think it would be better if the code kept a matching number of parentheses (i.e. don't incorporate the opening curly bracket into the conditional). ---------- nosy: +loewis _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com