Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

C API: Consider adding a public PyLong_GCD() function #111139

Closed
Labels
@vstinner

Description

@vstinner

Feature or enhancement

The private _PyLong_GCD() function was removed in Python 3.13: see PR#108429.

@scoderasked what is the intended replacement for _PyLong_GCD(). I suppose that the replacement is to callmath.gcd().

Is it worth it to add a public PyLong_GCD() function to the C API? Is it commonly used?

A code search for_PyLong_GCD is PyPI top 5,000 projects found 0 projects using it.

@scoder: What is your use case for _PyLong_GCD()? Usingmath.gcd() doesn't solve your use case?

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp