]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142447: Fix cast warning in pycore_backoff.h (#142465)
authorVictor Stinner <vstinner@python.org>
Tue, 9 Dec 2025 16:03:13 +0000 (17:03 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Dec 2025 16:03:13 +0000 (17:03 +0100)
commitb20722c300a78c38462081a3f1c45190b5434e71
tree22ba7b0196694b6280e03c7bcae4a57ae1f9983e
parent1b460fcddc420ce791f7f7bb33b260826034f3c9
gh-142447: Fix cast warning in pycore_backoff.h (#142465)

MAKE_VALUE_AND_BACKOFF() macro casts its result to uint16_t.

Add pycore_backoff.h header to test_cppext tests.
Include/internal/pycore_backoff.h
Lib/test/test_cppext/extension.cpp