[New-bugs-announce] [issue13582] IDLE and pythonw.exe stderr problem

Roger Serwy report at bugs.python.org
Sun Dec 11 20:38:10 CET 2011

New submission from Roger Serwy <roger.serwy at gmail.com>:

Running IDLE on Windows typically uses pythonw.exe. Unfortunately any error messages written to stderr will cause IDLE to terminate abruptly without an error message. This is due to __stderr__ == None.

Attached is a patch against 3.3a0 for idle.pyw to redirect stderr messages to a dialog box. This allows IDLE to keep running so that the user can at least save their work before closing IDLE.

components: IDLE
files: idle_pyw.patch
keywords: patch
messages: 149244
nosy: serwy
priority: normal
severity: normal
status: open
title: IDLE and pythonw.exe stderr problem
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file23916/idle_pyw.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list