SIGN IN SIGN UP

gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (#134415)

Since `PyLong_From Long(PY_MONITORING_DEBUGGER_ID)` falls to `small_int` case and can't return `NULL`. Added `assert`s for extra confidence.
https://github.com/python/cpython/issues/134411#issuecomment-2897653868
S
Sergey Muraviov committed
cf19b6435d02dd7be11b84a44f4a8a9f1a935b15
Parent: 1e67293
Committed by GitHub <noreply@github.com> on 7/21/2025, 8:59:06 AM