GeezerVison is showing github.com — gh-107211: No longer export internal functions (3) by vstinner · Pull Request #107215 · python/cpython
Conversation
vstinner
commented
Jul 25, 2023
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
No longer export these 21 internal C API functions:
- _PySys_Audit()
- _PySys_SetAttr()
- _PyToken_OneChar()
- _PyToken_ThreeChars()
- _PyToken_TwoChars()
- _PyTraceBack_FromFrame()
- _PyTraceBack_Print_Indented()
- _PyUnicode_DecodeUnicodeEscapeInternal()
- _PyUnicode_EncodeUTF16()
- _PyUnicode_EncodeUTF32()
- _PyUnicode_FormatAdvancedWriter()
- _PyUnicode_FromId()
- _PyUnicode_ScanIdentifier()
- _PyWarnings_Init()
- _Py_DumpASCII()
- _Py_DumpDecimal()
- _Py_DumpHexadecimal()
- _Py_DumpTraceback()
- _Py_DumpTracebackThreads()
- _Py_WriteIndent()
- _Py_WriteIndentedMargin()
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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()
jtcave
pushed a commit
to jtcave/cpython
that referenced
this pull request
Jul 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 request
Mar 5, 2026
This function stopped being exported in python#107215. However, it's very useful as
it'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 request
Mar 5, 2026
These functions stopped being exported in python#107215. However, they are the only
way to print a Python stacktrace safely from a signal handler, making them very
useful for extensions. Re-export them.
alexmalyshev
added a commit
to alexmalyshev/cpython
that referenced
this pull request
Mar 5, 2026
These functions stopped being exported in python#107215. However, they are the only
way to print a Python stacktrace safely from a signal handler, making them very
useful for extensions. Re-export them.
This was referenced Mar 5, 2026
alexmalyshev
added a commit
to alexmalyshev/cpython
that referenced
this pull request
Mar 5, 2026
…nctions
These functions stopped being exported in python#107215. However, they are the only
way to print a Python stacktrace safely from a signal handler, making them very
useful for extensions. Re-export them as PyUnsafe functions.
alexmalyshev
added a commit
to alexmalyshev/cpython
that referenced
this pull request
Mar 5, 2026
…functions
These functions stopped being exported in python#107215. However, they are the only
way to print a Python stacktrace safely from a signal handler, making them very
useful for extensions. Re-export them as PyUnstable functions.
alexmalyshev
added a commit
to alexmalyshev/cpython
that referenced
this pull request
Mar 5, 2026
…functions
These functions stopped being exported in python#107215. However, they are the only
way to print a Python stacktrace safely from a signal handler, making them very
useful for extensions. Re-export them as PyUnstable functions.
Reviewers
pganssle
Awaiting requested review from pganssle
pganssle is a code owner
abalkin
Awaiting requested review from abalkin
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|