On 8 November 2017 at 19:21, Antoine Pitrou <solip...@pitrou.net> wrote:
The idea that __main__ scripts should
get special treatment here is entirely gratuitous.

When I'm writing an app in Python, very often my __main__ is
just a stub that imports the actual functionality from another
module to get the benefits of a pyc. So enabling deprecation
warnings for __main__ only wouldn't result in me seeing any
more warnings.

--
Greg

_______________________________________________
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