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.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
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