Bug report
Refs #133265
Right here PyLong_FromLong can in theory (unlikely in practice) return NULL. It is missing this check. I understand that this is a test code, but I also don't see a reason why we should not be explicit about it.
|
#define SET_COUNT(DICT, STRUCT, NAME) \ |
cc @ericsnowcurrently
I have a PR ready.
Linked PRs