New submission from Brian Curtin <cur...@acm.org>:

The fix for #2304 causes issues on Windows if you have file associations setup 
that aren't Python interpters. In my case I have an association setup to open 
.py files in gvim, which causes the shell tests to hang until I quit the 
editor, then it fails because the output from gvim (nothing) doesn't match what 
it would when run through an interpreter.

CommandsWithSpaces.test_shell_* tests should have a skip condition which checks 
file associations before running. The info is stored somewhere in the registry, 
so it should be easy to see that, e.g., gvim.exe isn't a valid Python 
interpreter.

This issue only affects me at the moment, but it could affect other users who 
have tweaked file associations.

----------
assignee: brian.curtin
components: Tests, Windows
messages: 113794
nosy: brian.curtin, tim.golden
priority: low
severity: normal
stage: needs patch
status: open
title: Skip subprocess shell tests on Windows per file association setup
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to