gh-110864: Fix _PyArg_UnpackKeywordsWithVararg overwriting vararg with NULL - #110868
Conversation
…vararg` with `NULL` in some cases
|
Thanks @sobolevn for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry, @sobolevn and @erlend-aasland, I could not cleanly backport this to |
_PyArg_UnpackKeywordsWithVararg overwritting vararg with NULL_PyArg_UnpackKeywordsWithVararg overwriting vararg with NULL
|
@sobolevn @erlend-aasland Does this still need a 3.12 backport? If not, let's close #110864. |
|
cc. @JelleZijlstra who added the backport label. |
|
Ideally this should be fixed in 3.12 too, but if that's difficult to do, we can probably forget about it. The surface bug was already fixed in 3.12. |
This fix feels like a hack (basically as any other argument parsing fix) :)
But, it seems to be semantically correct, do its job, pass tests.