mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
environment variable is set
This commit is contained in:
parent
d6de5d8455
commit
7b7120e159
6 changed files with 11 additions and 14 deletions
|
|
@ -585,7 +585,11 @@ Debug mode
|
|||
|
||||
.. method:: BaseEventLoop.get_debug()
|
||||
|
||||
Get the debug mode (:class:`bool`) of the event loop, ``False`` by default.
|
||||
Get the debug mode (:class:`bool`) of the event loop.
|
||||
|
||||
The default value is ``True`` if the environment variable
|
||||
:envvar:`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False``
|
||||
otherwise.
|
||||
|
||||
.. versionadded:: 3.4.2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue