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/150535.html below:

[Python-Dev] Add a developer mode to Python: -X dev command line option

[Python-Dev] Add a developer mode to Python: -X dev command line option [Python-Dev] Add a developer mode to Python: -X dev command line optionNick Coghlan ncoghlan at gmail.com
Mon Nov 13 21:57:53 EST 2017
On 14 November 2017 at 02:08, Victor Stinner <victor.stinner at gmail.com> wrote:
> My "-X dev" idea is not incompatible with Nick's PEP 565 "Show
> DeprecationWarning in __main__" and it's different: it's an opt-in
> option, while Nick wants to change the default behaviour.

I'm +1 on a `-X dev` mode, since it enables a lot of things that are
useful for making an application more robust (extension module
debugging, explicit scope-controlled resource management) that I
wouldn't want turned at the REPL by default. It also implicitly
adjusts over time as we add more debugging capabilities.

I don't consider it a replacement for tweaking how we handle
DeprecationWarning by default, though :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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