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

2017年11月11日 03:38:13 -0800

On 2017年11月11日 07:34:05 +0000
Brett Cannon <[email protected]> wrote:
> 
> One problem with that is I don't want e.g. mypy to start spewing out
> warnings while checking my code.
It's rather trivial for mypy (or any other code analysis tool) to turn
warnings off when importing the code under analysis. And since there
are other warnings out there than DeprecationWarnings, it should do it
anyway even if we don't change DeprecationWarning's default behaviour.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to