]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101410: Customize error messages for 1-arg math functions (#129497)
authorSergey B Kirpichev <skirpichev@gmail.com>
Tue, 22 Apr 2025 09:29:20 +0000 (12:29 +0300)
committerGitHub <noreply@github.com>
Tue, 22 Apr 2025 09:29:20 +0000 (11:29 +0200)
commitd0660a9a4096c26fd4951e9f3d92f641a8ce65db
treebed924a935e9efe31c0a663e217709a85aac8008
parentbf3a0a1c0f2f63867c537d80cc7163ea8426bf2a
gh-101410: Customize error messages for 1-arg math functions (#129497)

This also reverts loghelper() change in 75f59bb629 for integer
input.  The error message shouldn't include argument value here.

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/whatsnew/3.14.rst
Lib/test/mathdata/ieee754.txt
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2025-02-12-16-37-34.gh-issue-101410.0GInct.rst [new file with mode: 0644]
Modules/mathmodule.c