mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
[3.6] bpo-31970: Reduce performance overhead of asyncio debug mode. (GH-4314) (#4322)
* bpo-31970: Reduce performance overhead of asyncio debug mode..
(cherry picked from commit 921e9432a1
)
This commit is contained in:
parent
518c6b9786
commit
d8d218ffda
7 changed files with 38 additions and 7 deletions
|
@ -1222,6 +1222,11 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
handler is set, and can be called by a custom exception
|
||||
handler that wants to defer to the default behavior.
|
||||
|
||||
This default handler logs the error message and other
|
||||
context-dependent information. In debug mode, a truncated
|
||||
stack trace is also appended showing where the given object
|
||||
(e.g. a handle or future or task) was created, if any.
|
||||
|
||||
The context parameter has the same meaning as in
|
||||
`call_exception_handler()`.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue