cpython/Misc/NEWS.d/next/Core and Builtins/2024-07-24-17-11-51.gh-issue-122234.VxsP_F.rst

Specializations for sums with float and complex inputs in :func:`sum` now
always use compensated summation.  Also, for integer items in above
specializations: :c:func:`PyLong_AsDouble` is used, instead of
:c:func:`PyLong_AsLongAndOverflow`.  Patch by Sergey B Kirpichev.