summaryrefslogtreecommitdiffstats
path: root/Include/pymath.h
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-11-01 22:04:31 (GMT)
committerGitHub <noreply@github.com>2024-11-01 22:04:31 (GMT)
commit8477951a1c460ff9b7dc7c54e7bf9b66b1722459 (patch)
tree56f840c81726ce48b4a99f0ee4eb358ccef0f38f /Include/pymath.h
parent28b148fb32e4548b461137d18d1ab6d366395d36 (diff)
downloadcpython-8477951a1c460ff9b7dc7c54e7bf9b66b1722459.zip
cpython-8477951a1c460ff9b7dc7c54e7bf9b66b1722459.tar.gz
cpython-8477951a1c460ff9b7dc7c54e7bf9b66b1722459.tar.bz2
gh-120026: soft deprecate Py_HUGE_VAL macro (#120027)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Include/pymath.h')
-rw-r--r--Include/pymath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pymath.h b/Include/pymath.h
index d8f763f..0ead1f9 100644
--- a/Include/pymath.h
+++ b/Include/pymath.h
@@ -49,7 +49,7 @@
/* Py_HUGE_VAL should always be the same as Py_INFINITY. But historically
* this was not reliable and Python did not require IEEE floats and C99
- * conformity. Prefer Py_INFINITY for new code.
+ * conformity. The macro was soft deprecated in Python 3.14, use Py_INFINITY instead.
*/
#ifndef Py_HUGE_VAL
# define Py_HUGE_VAL HUGE_VAL