Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 25, 2023

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