FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-107149: Rename _PyUnstable_GetUnaryIntrinsicName() function by vstinner · Pull Request #108441 · python/cpython · GitHub

Repository navigation

gh-107149: Rename _PyUnstable_GetUnaryIntrinsicName() function - #108441

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:unstable_compile
Aug 28, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:unstable_compile

Conversation

vstinner commented Aug 24, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member
  • Rename _PyUnstable_GetUnaryIntrinsicName() to PyUnstable_GetUnaryIntrinsicName()
  • Rename _PyUnstable_GetBinaryIntrinsicName() to PyUnstable_GetBinaryIntrinsicName().

* Rename _PyUnstable_GetUnaryIntrinsicName() to
  PyUnstable_GetUnaryIntrinsicName()
* Rename _PyUnstable_GetBinaryIntrinsicName()
  to PyUnstable_GetBinaryIntrinsicName().

Copy link
Copy Markdown
Member Author

_PyUnstable_GetUnaryIntrinsicName() was added by @iritkatriel in commit 9c81fc2.

Same question than issue #107149 and PR #108440: either the API is made public in the unstable API and so PyUnstable_ prefix is correct. Or the function should be made private, but in this case, it should be moved to the internal C API, not be exported, and drop its PyUnstable prefix.

vstinner marked this pull request as draft August 24, 2023 17:35

Copy link
Copy Markdown
Member Author

cc @encukou

vstinner marked this pull request as ready for review August 28, 2023 23:41

Copy link
Copy Markdown
Member Author

According to @iritkatriel, the _Py prefix was not deliberate: #107149 (comment)

vstinner merged commit 0b6a4cb into python:main Aug 28, 2023
vstinner deleted the unstable_compile branch August 28, 2023 23:42

Copy link
Copy Markdown
Member Author

Note: this API is new in Python 3.13, Python 3.12 is not affected.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL