Uh oh!
There was an error while loading. Please reload this page.
gh-115119: remove TEST_COVERAGE private macro (_decimal module) - #149756
Conversation
skirpichev
commented
May 31, 2026
vstinner
left a comment
There was a problem hiding this comment.
Please change PR title to explain the change rather than referring to a commit sha1. Please elaborate also on why you made this change and what is its purpose.
vstinner
commented
Jun 1, 2026
So, I had to reverse engineer your change... This change no longer defines It seems like the In the libmpdec-2.5.1 copy embedded in Python 3.15, I can see that the #if defined(_MSC_VER)
#defineALWAYS_INLINE __forceinline
#elif defined (__IBMC__) || defined(LEGACY_COMPILER)
#defineALWAYS_INLINE#undef inline
#defineinline#else#ifdefTEST_COVERAGE#defineALWAYS_INLINE#else#defineALWAYS_INLINE inline __attribute__ ((always_inline))
#endif#endifThe bundled copy of the libmpdec decimal library has been removed in the main branch. So it's no longer needed to define the |
| */ | ||
| #ifdef TEST_COVERAGE | ||
| #ifdef Py_DEBUG |
There was a problem hiding this comment.
I wonder if we should go so far as to do this in Include/pyport.h, but that's not a decision I will be making.
This amends 9eb3b14. Use unstead
Py_DEBUG.libmpdecsources #115119