[Python-Dev] Re-enable warnings in regrtest and/or unittest
brett at python.org
Mon Nov 22 23:20:21 CET 2010
On Mon, Nov 22, 2010 at 13:08, Guido van Rossum <guido at python.org> wrote:
> On Mon, Nov 22, 2010 at 11:24 AM, Brett Cannon <brett at python.org> wrote:
>> The problem with that is it means developers who switch to Python 3.2
>> or whatever are suddenly going to have their tests fail until they
>> update their code to turn the warnings off.
> That sounds like a feature to me... :-)
=) I meant update their tests with the switch to turn off the
warnings, not update to make the warnings properly disappear.
I guess it's a question of whether it will be errors by default or
simply output the warning. I can get behind printing the warnings by
default and adding a switch to make them errors or off otherwise.
> --Guido van Rossum (python.org/~guido)
More information about the Python-Dev