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 mbussonn
Recipients The Compiler, ezio.melotti, martin.panter, mbussonn, ncoghlan, njs, serhiy.storchaka, takluyver, terry.reedy
Date 2015-06-03.23:57:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433375869.46.0.0630842133485.issue24294@psf.upfronthosting.co.za>
In-reply-to
Content
I gave that a shot. 
Doing it "cleanly" in C as the warning module is initialized much earlier. 
Though I'm not super used to CPython internals. 
Doing just before the repl by using `PyRun_SimpleString` make the patch relatively small.
History
Date User Action Args
2015-06-03 23:57:49mbussonnsetrecipients: + mbussonn, terry.reedy, ncoghlan, ezio.melotti, njs, takluyver, martin.panter, serhiy.storchaka, The Compiler
2015-06-03 23:57:49mbussonnsetmessageid: <1433375869.46.0.0630842133485.issue24294@psf.upfronthosting.co.za>
2015-06-03 23:57:49mbussonnlinkissue24294 messages
2015-06-03 23:57:49mbussonncreate