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

Antoine Pitrou solipsis at pitrou.net
Thu Nov 16 07:09:43 EST 2017

On Thu, 16 Nov 2017 12:53:24 +0100
Victor Stinner <victor.stinner at gmail.com> wrote:

> Ok, I merged my PR adding -X dev: you can now test in Python 3.7 ;-)
> > The list of checks can be extended later. For example, we may enable
> > the debug mode of asyncio: PYTHONASYNCIODEBUG=1.  
> I opened https://bugs.python.org/issue32047 to propose enable asyncio
> debug mode using the Python developer mode.
> What do you think? Is it ok to include asyncio in the global "developer mode"?

I'd rather not.  Those are two orthogonal things.  In particular,
asyncio debug mode is quite expensive.



More information about the Python-Dev mailing list