A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-November/150418.html below:

[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff

[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoffGreg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 9 01:49:15 EST 2017
> 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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4