[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff
Antoine Pitrou
antoine at python.org
Wed Nov 8 16:46:27 EST 2017
Le 08/11/2017 à 22:43, Nick Coghlan a écrit :
>
> However, between them, the following two guidelines should provide
> pretty good deprecation warning coverage for the world's Python code:
>
> 1. If it's in __main__, it will emit deprecation warnings at runtime
> 2. If it's not in __main__, it should have a test suite
Nick, have you actually read the discussion and the complaints people
had with the current situation? Most of them *don't* specifically talk
about __main__ scripts.
Regards
Antoine.
More information about the Python-Dev
mailing list