summaryrefslogtreecommitdiffstats
path: root/Doc/using/cmdline.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-19 22:15:02 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-19 22:15:02 (GMT)
commit0f3e6bca1b7478027843fe6181f6b12f4c1514ed (patch)
tree0f997927e36175ab273d42bb947d4eee8001fc46 /Doc/using/cmdline.rst
parentff385b89f40cfdfb6ceab41acfa89fa8594318f6 (diff)
downloadcpython-0f3e6bca1b7478027843fe6181f6b12f4c1514ed.zip
cpython-0f3e6bca1b7478027843fe6181f6b12f4c1514ed.tar.gz
cpython-0f3e6bca1b7478027843fe6181f6b12f4c1514ed.tar.bz2
asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r--Doc/using/cmdline.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 4807a36..0c3c203 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -614,6 +614,14 @@ conflict.
.. versionadded:: 3.4
+.. envvar:: PYTHONASYNCIODEBUG
+
+ If this environment variable is set to a non-empty string, enable the debug
+ mode of the :mod:`asyncio` module.
+
+ .. versionadded:: 3.4
+
+
Debug-mode variables
~~~~~~~~~~~~~~~~~~~~