Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c99e52

Browse files
committed
Merge 3.4 -> 3.5
2 parents 5901b00 + 74edd35 commit 1c99e52

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Doc/library/asyncio-dev.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ This page lists common traps and explains how to avoid them.
1414
Debug 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.

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ Richie Hindle
590590
Konrad Hinsen
591591
David Hobley
592592
Tim Hochberg
593+
Benjamin Hodgson
593594
Joerg-Cyril Hoehle
594595
Gregor Hoffleit
595596
Chris Hoffman

0 commit comments

Comments
 (0)