Tidy/clarify another `._runtime` comment

ctx_cancel_semantics_and_overruns_REVERSED_FACEPALM
Tyler Goodlet 2023-10-18 13:19:34 -04:00
parent 22e4b324b1
commit a7c36a9cbe
1 changed files with 7 additions and 8 deletions

View File

@ -347,14 +347,13 @@ async def _invoke(
and ctx._enter_debugger_on_cancel
)
):
# XXX: is there any case where we'll want to debug IPC
# disconnects as a default?
#
# I can't think of a reason that inspecting
# this type of failure will be useful for respawns or
# recovery logic - the only case is some kind of strange bug
# in our transport layer itself? Going to keep this
# open ended for now.
# XXX QUESTION XXX: is there any case where we'll
# want to debug IPC disconnects as a default?
# => I can't think of a reason that inspecting this
# type of failure will be useful for respawns or
# recovery logic - the only case is some kind of
# strange bug in our transport layer itself? Going
# to keep this open ended for now.
entered_debug = await _debug._maybe_enter_pm(err)
if not entered_debug: