gh-132909: handle overflow for 'K' format in do_mkvalue (#132911)

This commit is contained in:
Bénédikt Tran 2025-04-25 13:02:57 +02:00 committed by GitHub
parent de6482eda3
commit 3fa024dec3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View file

@ -669,6 +669,8 @@ Building values
``L`` (:class:`int`) [long long]
Convert a C :c:expr:`long long` to a Python integer object.
.. _capi-py-buildvalue-format-K:
``K`` (:class:`int`) [unsigned long long]
Convert a C :c:expr:`unsigned long long` to a Python integer object.