Hi,

Since Brett and Nick like the idea and nobody complained against it, I
implemented the -X dev option:
https://bugs.python.org/issue32043
(Right now, it's a pull request.)

I removed the -b option.

Victor

2017-11-14 3:57 GMT+01:00 Nick Coghlan <ncogh...@gmail.com>:
> On 14 November 2017 at 02:08, Victor Stinner <victor.stin...@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   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to