Message191328
| 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. |
|