[Python-Dev] Proposal: go back to enabling DeprecationWarning by default

Serhiy Storchaka storchaka at gmail.com
Mon Nov 6 02:47:01 EST 2017


06.11.17 09:09, Guido van Rossum пише:
> I still find this unfriendly to users of Python scripts and small apps 
> who are not the developers of those scripts. (Large apps tend to spit 
> out so much logging it doesn't really matter.)
> 
> Isn't there a better heuristic we can come up with so that the warnings 
> tend to be on for developers but off for end users?

There was a proposition to make deprecation warnings visible by default 
in debug build and interactive interpreter.




More information about the Python-Dev mailing list