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

gh-107211: No longer export internal functions (3) by vstinner · Pull Request #107215 · python/cpython · GitHub

Repository navigation

gh-107211: No longer export internal functions (3) - #107215

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:extern3
Jul 25, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:extern3

Conversation

vstinner commented Jul 25, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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()

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()
vstinner enabled auto-merge (squash) July 25, 2023 02:00
vstinner merged commit 0d0520a into python:main Jul 25, 2023
vstinner deleted the extern3 branch July 25, 2023 02:27
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.
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.
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