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

2017年11月13日 08:43:36 -0800

On 2017年11月13日 17:08:06 +0100
Victor Stinner <[email protected]> wrote:
> Hi,
> 
> The discussion on DeprecationWarning reminded me my old idea of a
> "development mode" for CPython: -X dev. Since Brett likes it, I post
> it on python-dev. Last year, I posted this idea to python-ideas but my
> idea was rejected:
> 
> https://mail.python.org/pipermail/python-ideas/2016-March/039314.html
> 
> In short:
> python3.7 -X dev script.py
> behaves as:
> PYTHONMALLOC=debug python3.7 -Wd -b -X faulthandler script.py
I would personally not add `-b` in those options. I think it was
useful while porting stuff to 3.x, but not so much these days.
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
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