On Thu, 26 Feb 2015 07:35:17 +1000 Nick Coghlan email@example.com wrote:
It may also be worthwhile introducing a "-Wmain" shorthand for "-Wdefault:::__main__", as I could see that being quite useful to system administrators, data analysts, et al, that want to know about deprecation warnings in their own custom scripts, but don't really care about deprecations in support libraries.
-1. This is making the "main script" special while code factored out in another module won't benefit. Furthermore there hasn't been any demand for this.