diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2024-09-18 08:39:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 08:39:11 (GMT) |
commit | 8a284e189673582e262744618f293f9901a32e49 (patch) | |
tree | bacc735fda350b18f021cbd9e8c1b679529520c7 /Misc/NEWS.d/next | |
parent | 81480e6edb34774d783d018d1f0e61ab5c3f0a9a (diff) | |
download | cpython-8a284e189673582e262744618f293f9901a32e49.zip cpython-8a284e189673582e262744618f293f9901a32e49.tar.gz cpython-8a284e189673582e262744618f293f9901a32e49.tar.bz2 |
gh-119771: Set errno on overflows in _Py_c_pow() (#120256)
Before we did this in complex_pow() and behavior of the public C API
function _Py_c_pow() was different from the pure-python pow().
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/C API/2024-06-08-08-33-40.gh-issue-119771.Oip2dL.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-06-08-08-33-40.gh-issue-119771.Oip2dL.rst b/Misc/NEWS.d/next/C API/2024-06-08-08-33-40.gh-issue-119771.Oip2dL.rst new file mode 100644 index 0000000..6161908 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2024-06-08-08-33-40.gh-issue-119771.Oip2dL.rst @@ -0,0 +1,2 @@ +Set :data:`errno` in :c:func:`_Py_c_pow` on overflows. Patch by Sergey B +Kirpichev. |