C API tests: use special markers to test that output parameters were set#109014
Conversation
There was a problem hiding this comment.
LGTM. I just propose a less common value for UNINITIALIZED_INT and UNINITIALIZED_SIZE.
I used random.randint(0, 2**30) to generate the two numbers that I proposed.
Co-authored-by: Victor Stinner <vstinner@python.org>
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
…s were set (pythonGH-109014). (cherry picked from commit bf414b7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-109023 is a backport of this pull request to the 3.12 branch. |
|
This change introduced compiler warnings on FreeBSD (clang -O2): I'm not sure if I copied correctly all warnings. build: https://cirrus-ci.com/task/5026392602050560?logs=build#L79 |
Extended extraction from #108797. It will be backported, unlike to the main part of #108797.