I suspect this define was added to make some staging area for new functionality. Though, it has no pure-Python alternative, not tested by CI or build bots, has regressions (latest: #152870).
We should either remove this or include unconditionally, with appropriate support from _pydecimal.py.
The very minimal thing is to compile our code with EXTRA_FUNCTIONALITY
The CI has no tests even for some core functionality, like ints 15-bit digits. This can be tested on some build bot, but I believe this just delay a decision.
Activity
sobolevn commented on Jul 3, 2026
The very minimal thing is to compile our code with EXTRA_FUNCTIONALITY, because right now it is not even compiled / checked :(
weixlu commented on Jul 3, 2026
Yes, this is not even tested by CI, and we have seen at least 2 related issues: #152870 and #142440
skirpichev commented on Jul 3, 2026
The CI has no tests even for some core functionality, like ints 15-bit digits. This can be tested on some build bot, but I believe this just delay a decision.
tangyuan0821 commented on Jul 4, 2026
Came across this issue. EXTRA_FUNCTIONALITY has broken twice now (#142440, #152870) with no CI catching either — seems like removal is the way to go.
Mind if I put up a PR for it?
skirpichev commented on Jul 4, 2026
I think that we should examine each case on by one. Removal is not only option: #53032