[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sat Nov 11 06:34:56 EST 2017
- Previous message (by thread): [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff
- Next message (by thread): [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 11 Nov 2017 07:34:05 +0000 Brett Cannon <brett at python.org> 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.
- Previous message (by thread): [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff
- Next message (by thread): [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]