Issue 1039: Asssertion in Windows debug build (original) (raw)

Issue1039

Created on 2007-08-28 06:01 by theller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
os.diff theller,2007-08-28 06:01
Messages (5)
msg55350 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2007-08-28 06:01
In a windows debug build, an assertion is triggered when os.execvpe is called with an empty argument list: self.assertRaises(OSError, os.execvpe, 'no such app-', [], None) The same problem is present in the trunk version. Attached is a patch that fixes this, with a test.
msg55439 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-08-29 20:47
If it works for you, can you submit it?
msg55492 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2007-08-30 17:15
Applied in rev. 57731.
msg101439 - (view) Author: Alexander Belopolsky (Alexander.Belopolsky) Date: 2010-03-21 18:24
Link to revision: r57731
msg101441 - (view) Author: Alexander Belopolsky (Alexander.Belopolsky) Date: 2010-03-21 18:32
This issue was misclassified as an interpreter crash while in fact it was a bug in the underlying OS utility. Please see discussion in . Since the fix changes behavior, it should be documented and a NEWS entry added.
History
Date User Action Args
2022-04-11 14:56:26 admin set github: 45380
2010-03-21 18:32:38 Alexander.Belopolsky set type: crash -> enhancementmessages: +
2010-03-21 18:24:46 Alexander.Belopolsky set nosy: + Alexander.Belopolskymessages: +
2007-08-30 17:15:43 theller set status: open -> closedresolution: accepted -> fixedmessages: +
2007-08-30 15:34:30 loewis set resolution: accepted
2007-08-29 20:47:30 gvanrossum set assignee: thellermessages: + nosy: + gvanrossum
2007-08-28 06:01:58 theller create