This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Arfrever, brett.cannon, kbk, r.david.murray, roger.serwy, terry.reedy, vinay.sajip
Date 2013-06-17.13:01:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371474111.88.0.673502701594.issue18081@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-06-17 13:01:51vinay.sajipsetrecipients: + vinay.sajip, brett.cannon, terry.reedy, kbk, roger.serwy, Arfrever, r.david.murray
2013-06-17 13:01:51vinay.sajipsetmessageid: <1371474111.88.0.673502701594.issue18081@psf.upfronthosting.co.za>
2013-06-17 13:01:51vinay.sajiplinkissue18081 messages
2013-06-17 13:01:51vinay.sajipcreate