Nir Soffer <nirsof at gmail.com> added the comment: I also think it should be removed. Opening a file should run it only if it is executable. ---------- nosy: +nirs _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5262> _______________________________________