Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
gh-107211: No longer export internal functions (3)#107215
Merged
vstinner merged 1 commit intopython:mainfromJul 25, 2023
Merged
gh-107211: No longer export internal functions (3)#107215vstinner merged 1 commit intopython:mainfrom
vstinner merged 1 commit intopython:mainfrom
Conversation
0a9388d to1894882CompareNo longer export these 14 internal C API functions:* _PySys_Audit()* _PySys_SetAttr()* _PyTraceBack_FromFrame()* _PyTraceBack_Print_Indented()* _PyUnicode_FormatAdvancedWriter()* _PyUnicode_ScanIdentifier()* _PyWarnings_Init()* _Py_DumpASCII()* _Py_DumpDecimal()* _Py_DumpHexadecimal()* _Py_DumpTraceback()* _Py_DumpTracebackThreads()* _Py_WriteIndent()* _Py_WriteIndentedMargin()
jtcave pushed a commit to jtcave/cpython that referenced this pull requestJul 27, 2023
No longer export these 14 internal C API functions:* _PySys_Audit()* _PySys_SetAttr()* _PyTraceBack_FromFrame()* _PyTraceBack_Print_Indented()* _PyUnicode_FormatAdvancedWriter()* _PyUnicode_ScanIdentifier()* _PyWarnings_Init()* _Py_DumpASCII()* _Py_DumpDecimal()* _Py_DumpHexadecimal()* _Py_DumpTraceback()* _Py_DumpTracebackThreads()* _Py_WriteIndent()* _Py_WriteIndentedMargin()
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
This function stopped being exported inpython#107215. However, it's very useful asit's the only way to print a Python stacktrace safely from a signal handler.Re-export it.
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
These functions stopped being exported inpython#107215. However, they are the onlyway to print a Python stacktrace safely from a signal handler, making them veryuseful for extensions. Re-export them.
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
These functions stopped being exported inpython#107215. However, they are the onlyway to print a Python stacktrace safely from a signal handler, making them veryuseful for extensions. Re-export them.
This was referencedMar 5, 2026
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
…nctionsThese functions stopped being exported inpython#107215. However, they are the onlyway to print a Python stacktrace safely from a signal handler, making them veryuseful for extensions. Re-export them as PyUnsafe functions.
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
…functionsThese functions stopped being exported inpython#107215. However, they are the onlyway to print a Python stacktrace safely from a signal handler, making them veryuseful for extensions. Re-export them as PyUnstable functions.
alexmalyshev added a commit to alexmalyshev/cpython that referenced this pull requestMar 5, 2026
…functionsThese functions stopped being exported inpython#107215. However, they are the onlyway to print a Python stacktrace safely from a signal handler, making them veryuseful for extensions. Re-export them as PyUnstable functions.
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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
No longer export these 21 internal C API functions: