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

Serhiy Storchaka storchaka at gmail.com
Mon Nov 13 11:50:51 EST 2017


13.11.17 18:40, Antoine Pitrou пише:
> On Mon, 13 Nov 2017 17:08:06 +0100
> Victor Stinner <victor.stinner at gmail.com> wrote:
>> 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.

I concur with Antoine.



More information about the Python-Dev mailing list