Skip to content

gh-135379: Move PyLong_CheckCompact to private header - #135707

Merged
Fidget-Spinner merged 2 commits into
python:mainfrom
Fidget-Spinner:pylong_iscompact_private
Jun 19, 2025
Merged

Fidget-Spinner merged 2 commits into
python:mainfrom
Fidget-Spinner:pylong_iscompact_private

Conversation

@Fidget-Spinner

@Fidget-Spinner Fidget-Spinner commented Jun 19, 2025 •

Copy link
Copy Markdown
Member
@encukou

encukou commented Jun 19, 2025

Copy link
Copy Markdown
Member

Since you're moving/renaming it: should this be PyLong_CheckExactAndCompact, to reduce confusion with _PyLong_IsCompact/PyUnstable_Long_IsCompact?

@Fidget-Spinner

Copy link
Copy Markdown
Member Author

Good point, I renamed it.

@Fidget-Spinner
Fidget-Spinner enabled auto-merge (squash) June 19, 2025 12:30

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Fidget-Spinner
Fidget-Spinner merged commit 0243260 into python:main Jun 19, 2025
@Fidget-Spinner
Fidget-Spinner deleted the pylong_iscompact_private branch June 19, 2025 13:09
lkollar pushed a commit to lkollar/cpython that referenced this pull request Jun 19, 2025
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants