[New-bugs-announce] [issue1039] Asssertion in Windows debug build

Thomas Heller report at bugs.python.org
Tue Aug 28 08:01:58 CEST 2007


New submission from Thomas Heller:

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.

----------
components: Windows
files: os.diff
messages: 55350
nosy: theller
severity: normal
status: open
title: Asssertion in Windows debug build
type: crash
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1039>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: os.diff
Type: text/x-diff
Size: 1082 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070828/fa4c99c8/attachment.diff 


More information about the New-bugs-announce mailing list