16 Nov
2017
16 Nov
'17
12:38 p.m.
2017-11-16 13:09 GMT+01:00 Antoine Pitrou
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.
Is it really an issue? When you develop an application, the performance of the application shouldn't be an issue no? From my point of view, it's the purpose of the opt-in developer mode: enable "expensive" checks at runtime. But you are right that the cost of the checks should be evaluated. About asyncio debug mode, if it's too expensive to be used to develop an application, maybe there is an issue with additional checks? Should we remove some of them to be able to use asyncio debug mode in more cases? Victor