[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

Matthias Bussonnier report at bugs.python.org
Thu Jun 4 01:57:49 CEST 2015


Matthias Bussonnier added the comment:

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.

----------
keywords: +patch
nosy: +mbussonn
Added file: http://bugs.python.org/file39612/enable_deprecation_warnings_in_repl.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24294>
_______________________________________


More information about the Python-bugs-list mailing list