gh-106320: Remove _Py_SwappedOp from the C API by vstinner · Pull Request #107036 · python/cpython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, if someone is using this API, they can write their utility function.
lgtm, if someone is using this API, they can write their utility function.
If someone uses it, we can consider exposing a public API for that.
Or they can just copy/paste this short array in their code.
Move _Py_SwappedOp to the internal C API (pycore_object.h). The symbol is still exported since it's part of the stable ABI.
mementum pushed a commit to mementum/cpython that referenced this pull request
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