Fix: - corrected arguments passed to spawnl function and added comment to explain tricky win32 behaviour Bug description: test_tempfile.py fails on XP (probably other platforms too) when Python is installed into \Program Files\Python2.3
Logged In: YES user_id=21627 The patch is incorrect. On Unix, I get "/home/martin/work/py2.4/python": can't open file '"/home/martin/work/py2.4/Lib/test/tf_inherit_check.py"' test test_tempfile failed -- Traceback (most recent call last): File "/home/martin/work/py2.4/Lib/test/test_tempfile.py", line 304, in test_noinherit self.failIf(retval > 0, "child process reports failure") File "/home/martin/work/py2.4/Lib/unittest.py", line 288, in failIf if expr: raise self.failureException, msg AssertionError: child process reports failure
Logged In: YES user_id=31511 Stupid me! As written in the comment the fix only applies for windows so the OS should have been checked. Uploaded a new patch, which was tested on Linux & Windows XP.