2014-02-09 23:23 GMT+01:00 Victor Stinner <victor.stin...@gmail.com>:
> tracemalloc is just used to show the expected output, but I would
> prefer to record manually the traceback where a taks was created in
> Future constructor ...

Oh, I forgot to say that it is my main motivation to add a debug
asyncio.DEBUG flag: only do such slow operations in debug mode, to not
impact performances at runtime.

Recording the traceback when a Handle is created would also help tools
like "Log handles taking more than 1 second to be executed" (
http://code.google.com/p/tulip/issues/detail?id=105 ).

Victor

Reply via email to