]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120950: Fix overflow in math.log() with large int-like argument (GH-121011)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 11 Nov 2025 22:27:13 +0000 (00:27 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Nov 2025 22:27:13 +0000 (00:27 +0200)
commit4359706ac8d5589fc37e2f1460a0d07a2319df15
tree9e01694e74a7ceaeb886c955b0868bf8d9fcdcb9
parent9e7340cd3b5531784291088b504882cfb4d4c78c
gh-120950: Fix overflow in math.log() with large int-like argument (GH-121011)

Handling of arbitrary large int-like argument is now consistent with
handling arbitrary large int arguments.
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2024-06-26-16-16-43.gh-issue-121011.qW54eh.rst [new file with mode: 0644]
Modules/mathmodule.c