]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-133583: Add support for fixed size unsigned integers in argument parsing...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 May 2025 09:54:44 +0000 (11:54 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 09:54:44 +0000 (09:54 +0000)
commit0f7046b18760c42da8676fea0421b25d67fb32e6
treef9653da076d5943eedc60fef5654b35a34cc9eae
parenta0203362568ade0bc30f22a8abb22a3387c329f1
[3.14] gh-133583: Add support for fixed size unsigned integers in argument parsing (GH-133584) (GH-133650)

* Add Argument Clinic converters: uint8, uint16, uint32, uint64.
* Add private C API: _PyLong_UInt8_Converter(),
  _PyLong_UInt16_Converter(), _PyLong_UInt32_Converter(),
  _PyLong_UInt64_Converter().
(cherry picked from commit 4c914e7a36033d5e8d52cdef3a4063eb9b012ed2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Include/internal/pycore_long.h
Lib/test/test_clinic.py
Modules/_lzmamodule.c
Modules/clinic/socketmodule.c.h
Modules/socketmodule.c
Objects/longobject.c
Tools/clinic/libclinic/converters.py