Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This is already corrected by r66922 (issue3391), but the patches are different and there are some things I don't like in the present implementation:
- in idle_showwarning, the "file" argument is ignored and always replaced by warning_stream. - warnings.formatwarning is passed a "file" argument: this could fail, but works only because the function is monkey-patched. But "file" is not even used there! The attached patch seems better, but does not apply cleanly any more. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3926> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com