[issue4915] Port sysmodule.c to MS Windows CE

Martin v. Löwis report at bugs.python.org
Sun Jan 11 19:49:55 CET 2009


Martin v. Löwis <martin at 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 <report at bugs.python.org>
<http://bugs.python.org/issue4915>
_______________________________________


More information about the Python-bugs-list mailing list