Vinay Sajip added the comment: With the attached patch,
python -m test_idle test_logging passes (though test_idle still alters locale and environment). Running python -m idelib.idle, and using IDLE itself for inspection, the warnings.formatwarning is set to the implementation in idlelib.run. Perhaps the PyShell changes aren't needed, but I think it may avoid similar issues in the future to leave them in. ---------- Added file: http://bugs.python.org/file30619/changes.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com