gh-107149: Rename PyUnstable_ExecutableKinds to _Py_ExecutableKinds#108651
gh-107149: Rename PyUnstable_ExecutableKinds to _Py_ExecutableKinds#108651vstinner wants to merge 1 commit intopython:mainfrom
Conversation
|
Please hold off at least until we've had a change to discuss this with @markshannon. I expect see him tomorrow. |
…inds Rename contants, replace Py with _Py (add underscore prefix): * PY_EXECUTABLE_KIND_SKIP = > _PY_EXECUTABLE_KIND_SKIP * PY_EXECUTABLE_KIND_PY_FUNCTION => _PY_EXECUTABLE_KIND_PY_FUNCTION * PY_EXECUTABLE_KIND_BUILTIN_FUNCTION => _PY_EXECUTABLE_KIND_BUILTIN_FUNCTION * PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR => _PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR * PY_EXECUTABLE_KINDS => _PY_EXECUTABLE_KINDS
07af9da to
bbb0c48
Compare
Error:
I rebased my PR on the main branch to re-trigger CI jobs. |
|
These constants are intended for tools like pyspy and austin, which are out-of-process tools. Presumably that means moving them to Generally, I think we shouldn't be adding private (ie. |
Oh, I already wrote PR #108440 for that, the alternative option :-) |
|
@markshannon prefers to add this API to the public C API, so I close this PR. See PR #108440 instead. |
Rename contants, replace Py with _Py (add underscore prefix):