[Python-Dev] Add a developer mode to Python: -X dev command line option (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Mon Nov 13 21:57:53 EST 2017
- Previous message (by thread): [Python-Dev] Add a developer mode to Python: -X dev command line option
- Next message (by thread): [Python-Dev] Add a developer mode to Python: -X dev command line option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] Add a developer mode to Python: -X dev command line option
- Next message (by thread): [Python-Dev] Add a developer mode to Python: -X dev command line option
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]