Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

gh-107211: No longer export internal functions (3)#107215
vstinner merged 1 commit intopython:mainfrom
vstinner:extern3

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedJul 25, 2023
edited by bedevere-bot
Loading

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()
@vstinnervstinnerenabled auto-merge (squash)July 25, 2023 02:00
@vstinnervstinner merged commit0d0520a intopython:mainJul 25, 2023
@vstinnervstinner deleted the extern3 branchJuly 25, 2023 02:27
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.
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.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pgansslepganssleAwaiting requested review from pgansslepganssle is a code owner

@abalkinabalkinAwaiting requested review from abalkinabalkin is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp