GH-91048: Add utils for printing the call stack for asyncio tasks (#133284)

This commit is contained in:
Pablo Galindo Salgado 2025-05-04 02:51:57 +02:00 committed by GitHub
parent 7363e8d24d
commit 2bc8365231
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 1309 additions and 90 deletions

40
configure generated vendored
View file

@ -654,8 +654,8 @@ MODULE__XXTESTFUZZ_FALSE
MODULE__XXTESTFUZZ_TRUE
MODULE_XXSUBTYPE_FALSE
MODULE_XXSUBTYPE_TRUE
MODULE__TESTEXTERNALINSPECTION_FALSE
MODULE__TESTEXTERNALINSPECTION_TRUE
MODULE__REMOTEDEBUGGING_FALSE
MODULE__REMOTEDEBUGGING_TRUE
MODULE__TESTSINGLEPHASE_FALSE
MODULE__TESTSINGLEPHASE_TRUE
MODULE__TESTMULTIPHASE_FALSE
@ -30684,7 +30684,7 @@ case $ac_sys_system in #(
py_cv_module__ctypes_test=n/a
py_cv_module__testexternalinspection=n/a
py_cv_module__remotedebugging=n/a
py_cv_module__testimportmultiple=n/a
py_cv_module__testmultiphase=n/a
py_cv_module__testsinglephase=n/a
@ -33449,44 +33449,44 @@ fi
printf "%s\n" "$py_cv_module__testsinglephase" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testexternalinspection" >&5
printf %s "checking for stdlib extension module _testexternalinspection... " >&6; }
if test "$py_cv_module__testexternalinspection" != "n/a"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _remotedebugging" >&5
printf %s "checking for stdlib extension module _remotedebugging... " >&6; }
if test "$py_cv_module__remotedebugging" != "n/a"
then :
if test "$TEST_MODULES" = yes
then :
if true
then :
py_cv_module__testexternalinspection=yes
py_cv_module__remotedebugging=yes
else case e in #(
e) py_cv_module__testexternalinspection=missing ;;
e) py_cv_module__remotedebugging=missing ;;
esac
fi
else case e in #(
e) py_cv_module__testexternalinspection=disabled ;;
e) py_cv_module__remotedebugging=disabled ;;
esac
fi
fi
as_fn_append MODULE_BLOCK "MODULE__TESTEXTERNALINSPECTION_STATE=$py_cv_module__testexternalinspection$as_nl"
if test "x$py_cv_module__testexternalinspection" = xyes
as_fn_append MODULE_BLOCK "MODULE__REMOTEDEBUGGING_STATE=$py_cv_module__remotedebugging$as_nl"
if test "x$py_cv_module__remotedebugging" = xyes
then :
fi
if test "$py_cv_module__testexternalinspection" = yes; then
MODULE__TESTEXTERNALINSPECTION_TRUE=
MODULE__TESTEXTERNALINSPECTION_FALSE='#'
if test "$py_cv_module__remotedebugging" = yes; then
MODULE__REMOTEDEBUGGING_TRUE=
MODULE__REMOTEDEBUGGING_FALSE='#'
else
MODULE__TESTEXTERNALINSPECTION_TRUE='#'
MODULE__TESTEXTERNALINSPECTION_FALSE=
MODULE__REMOTEDEBUGGING_TRUE='#'
MODULE__REMOTEDEBUGGING_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testexternalinspection" >&5
printf "%s\n" "$py_cv_module__testexternalinspection" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__remotedebugging" >&5
printf "%s\n" "$py_cv_module__remotedebugging" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxsubtype" >&5
@ -34119,8 +34119,8 @@ if test -z "${MODULE__TESTSINGLEPHASE_TRUE}" && test -z "${MODULE__TESTSINGLEPHA
as_fn_error $? "conditional \"MODULE__TESTSINGLEPHASE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE__TESTEXTERNALINSPECTION_TRUE}" && test -z "${MODULE__TESTEXTERNALINSPECTION_FALSE}"; then
as_fn_error $? "conditional \"MODULE__TESTEXTERNALINSPECTION\" was never defined.
if test -z "${MODULE__REMOTEDEBUGGING_TRUE}" && test -z "${MODULE__REMOTEDEBUGGING_FALSE}"; then
as_fn_error $? "conditional \"MODULE__REMOTEDEBUGGING\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE_XXSUBTYPE_TRUE}" && test -z "${MODULE_XXSUBTYPE_FALSE}"; then