From 491990777442e6d60e769923fcb331ffb1aa48da Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 24 Sep 2015 14:32:39 +0300 Subject: Fix #25208: Improve "Develop with asyncio" doc page. Patch by Benjamin Hodgson. --- Doc/library/asyncio-dev.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index 3a196db..4812c2f 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -14,14 +14,14 @@ This page lists common traps and explains how to avoid them. Debug mode of asyncio --------------------- -The implementation of :mod:`asyncio` module has been written for performances. -To development with asyncio, it's required to enable the debug checks to ease -the development of asynchronous code. +The implementation of :mod:`asyncio` has been written for performance. +In order to ease the development of asynchronous code, you may wish to +enable *debug mode*. -Setup an application to enable all debug checks: +To enable all debug checks for an application: * Enable the asyncio debug mode globally by setting the environment variable - :envvar:`PYTHONASYNCIODEBUG` to ``1`` + :envvar:`PYTHONASYNCIODEBUG` to ``1``, or by calling :meth:`BaseEventLoop.set_debug`. * Set the log level of the :ref:`asyncio logger ` to :py:data:`logging.DEBUG`. For example, call ``logging.basicConfig(level=logging.DEBUG)`` at startup. -- cgit v0.12 From 74edd3580e4b8f626b439f663faa714ff8bbfa47 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 24 Sep 2015 14:34:07 +0300 Subject: Add Benjamin Hodgson to Misc/ACK --- Misc/ACKS | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/ACKS b/Misc/ACKS index d9b32b2..853f29d 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -579,6 +579,7 @@ Richie Hindle Konrad Hinsen David Hobley Tim Hochberg +Benjamin Hodgson Joerg-Cyril Hoehle Gregor Hoffleit Chris Hoffman -- cgit v0.12