]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Remove unused internal macros (#102415)
authorMark Dickinson <dickinsm@gmail.com>
Sat, 4 Mar 2023 12:20:14 +0000 (12:20 +0000)
committerGitHub <noreply@github.com>
Sat, 4 Mar 2023 12:20:14 +0000 (12:20 +0000)
commitb022250e67449e0bc49a3c982fe9e6a2d6a7b71a
tree69c09b39cc15829db798e3c76943fedd6f21e970
parent8de59c1bb9fdcea69ff6e6357972ef1b75b71721
Remove unused internal macros (#102415)

Since #101826 was merged, the internal macro `_Py_InIntegralTypeRange` is unused, as are its supporting macros `_Py_IntegralTypeMax` and `_Py_IntegralTypeMin`. This PR removes them.

Note that `_Py_InIntegralTypeRange` doesn't actually work as advertised - it's not a safe way to avoid undefined behaviour in an integer to double conversion.
Include/internal/pycore_pymath.h