diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2025-01-23 13:55:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-23 13:55:25 (GMT) |
commit | 75f59bb62938fc9acac7a4ede19404e889417c6b (patch) | |
tree | dd6a3a21ab8324df9d49d7c871b8bea5b9d3571e /Python | |
parent | 25a614a502e607a333f7aa7f4d69e6f2a47148ad (diff) | |
download | cpython-75f59bb62938fc9acac7a4ede19404e889417c6b.zip cpython-75f59bb62938fc9acac7a4ede19404e889417c6b.tar.gz cpython-75f59bb62938fc9acac7a4ede19404e889417c6b.tar.bz2 |
gh-101410: support custom messages for domain errors in the math module (#124299)
This adds basic support to override default messages for domain errors
in the math_1() helper. The sqrt(), atanh(), log2(), log10() and log()
functions were modified as examples. New macro supports gradual
changing of error messages in other 1-arg functions.
Co-authored-by: CharlieZhao <zhaoyu_hit@qq.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions