[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 9 23:34:10 EST 2017

Tres Seaver wrote:
> IIUC, that would be as expected:  you would see the warnings when running
> your test suite exercising that imported code (which should run with all
> warnings enabled), but not when running the app.

But then what benefit is there in turning on deprecation
warnings automatically for __main__?


More information about the Python-Dev mailing list