| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Can we test this under @requires_extra_functionality?
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, please add a simple test.
Sorry, something went wrong.
|
Sure, I have added a simple precision test.
|
Sorry, something went wrong.
|
GH-152937 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
As mentioned in #152870, there is compilation error about EXTRA_FUNCTIONALITY
Root cause
The Context.apply() wrapper (guarded by #ifdef EXTRA_FUNCTIONALITY) still calls _decimal_Context__apply() using its pre-Argument-Clinic signature. But since #73487 , the generated _decimal_Context__apply() is now a METH_FASTCALL wrapper with the signature (context, cls, args, nargs, kwnames), so the old call no longer compiles.
PR #142441 previously touched this line, but it fixed a typo, rather than the signature mismatch issue.
Test
After the fix, it builds correctly and the full test_decimal suite (including the C-only tests) passes.