Skip to content

[3.14] gh-133583: Add support for fixed size unsigned integers in argument parsing (GH-133584) #133650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 8, 2025

  • 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 4c914e7)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ment parsing (pythonGH-133584)

* 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 4c914e7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@vstinner
Copy link
Member

vstinner commented May 8, 2025

I'm not sure about a backport, it looks like a new feature.

@serhiy-storchaka serhiy-storchaka merged commit 0f7046b into python:3.14 May 8, 2025
55 checks passed
@serhiy-storchaka
Copy link
Member

It is not a feature in the sense that it is not user facing. But it can help to do backports (for example for #133489).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants