[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 9 01:49:15 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 8 November 2017 at 19:21, Antoine Pitrou <solipsis at 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
- 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 ]