File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ This page lists common traps and explains how to avoid them.
1414Debug mode of asyncio
1515---------------------
1616
17- The implementation of :mod: `asyncio ` module has been written for performances .
18- To development with asyncio, it's required to enable the debug checks to ease
19- the development of asynchronous code .
17+ The implementation of :mod: `asyncio ` has been written for performance .
18+ In order to ease the development of asynchronous code, you may wish to
19+ enable * debug mode * .
2020
21- Setup an application to enable all debug checks:
21+ To enable all debug checks for an application :
2222
2323* Enable the asyncio debug mode globally by setting the environment variable
24- :envvar: `PYTHONASYNCIODEBUG ` to ``1 ``
24+ :envvar: `PYTHONASYNCIODEBUG ` to ``1 ``, or by calling :meth: ` BaseEventLoop.set_debug `.
2525* Set the log level of the :ref: `asyncio logger <asyncio-logger >` to
2626 :py:data: `logging.DEBUG `. For example, call
2727 ``logging.basicConfig(level=logging.DEBUG) `` at startup.
Original file line number Diff line number Diff line change @@ -590,6 +590,7 @@ Richie Hindle
590590Konrad Hinsen
591591David Hobley
592592Tim Hochberg
593+ Benjamin Hodgson
593594Joerg-Cyril Hoehle
594595Gregor Hoffleit
595596Chris Hoffman
You can’t perform that action at this time.
0 commit comments