Uh oh!
There was an error while loading. Please reload this page.
gh-108240: _PyCapsule_SetTraverse() rejects NULL callbacks - #108417
Conversation
9941183 to
832454cComparevstinner
commented
Aug 24, 2023
I don't think that it makes sense to call _PyCapsule_SetTraverse() with NULL traverse function. If a traverse function is defined, it would look suspicious that there is no associated clear function. So yeah, I think that it's a better API to require both callbacks to be non-NULL. |
vstinner
commented
Aug 24, 2023
Thanks for your post-merge review :-) |
bedevere-bot
commented
Aug 24, 2023
|
Uh oh!
There was an error while loading. Please reload this page.