GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-107211: No longer export internal functions (2) by vstinner · Pull Request #107214 · python/cpython

Conversation

@vstinner

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

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

No longer export these 50 internal C API functions:

  • _PyArena_AddPyObject()
  • _PyArena_Free()
  • _PyArena_Malloc()
  • _PyArena_New()
  • _PyDict_CheckConsistency()
  • _PyErr_ChainStackItem()
  • _PyErr_CheckSignals()
  • _PyErr_CheckSignalsTstate()
  • _PyErr_Clear()
  • _PyErr_ExceptionMatches()
  • _PyErr_Fetch()
  • _PyErr_Format()
  • _PyErr_FormatFromCauseTstate()
  • _PyErr_GetExcInfo()
  • _PyErr_GetHandledException()
  • _PyErr_GetTopmostException()
  • _PyErr_NoMemory()
  • _PyErr_NormalizeException()
  • _PyErr_ProgramDecodedTextObject()
  • _PyErr_Restore()
  • _PyErr_SetHandledException()
  • _PyErr_SetNone()
  • _PyErr_SetObject()
  • _PyErr_SetString()
  • _PyErr_StackItemToExcInfoTuple()
  • _PyExc_CreateExceptionGroup()
  • _PyExc_PrepReraiseStar()
  • _PyException_AddNote()
  • _PyInterpreterState_Enable()
  • _PyLong_FormatAdvancedWriter()
  • _PyLong_FormatBytesWriter()
  • _PyLong_FormatWriter()
  • _PyMem_GetAllocatorName()
  • _PyMem_SetDefaultAllocator()
  • _PyMem_SetupAllocators()
  • _PyOS_InterruptOccurred()
  • _PyRuntimeState_Fini()
  • _PyRuntimeState_Init()
  • _PyRuntime_Finalize()
  • _PyRuntime_Initialize()
  • _PyState_AddModule()
  • _PyThreadState_Bind()
  • _PyThreadState_DeleteExcept()
  • _PyThreadState_New()
  • _PyThreadState_Swap()
  • _PyType_CheckConsistency()
  • _PyUnicodeTranslateError_Create()
  • _Py_DumpExtensionModules()
  • _Py_FatalErrorFormat()
  • _Py_GetConfig()
  • Issue: C API: No longer export internal C API functions #107211

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner vstinner added skip news topic-C-API labels Jul 25, 2023
@bedevere-bot bedevere-bot added the awaiting core review label Jul 25, 2023
@bedevere-bot bedevere-bot mentioned this pull request Jul 25, 2023
C API: No longer export internal C API functions #107211
Closed
@vstinner
pythongh-107211: No longer export internal functions (2)
85d3727
No longer export these 43 internal C API functions:

* _PyDict_CheckConsistency()
* _PyErr_ChainStackItem()
* _PyErr_CheckSignals()
* _PyErr_CheckSignalsTstate()
* _PyErr_Clear()
* _PyErr_ExceptionMatches()
* _PyErr_Fetch()
* _PyErr_Format()
* _PyErr_FormatFromCauseTstate()
* _PyErr_GetExcInfo()
* _PyErr_GetHandledException()
* _PyErr_GetTopmostException()
* _PyErr_NoMemory()
* _PyErr_NormalizeException()
* _PyErr_Restore()
* _PyErr_SetHandledException()
* _PyErr_SetNone()
* _PyErr_SetObject()
* _PyErr_SetString()
* _PyErr_StackItemToExcInfoTuple()
* _PyExc_CreateExceptionGroup()
* _PyExc_PrepReraiseStar()
* _PyException_AddNote()
* _PyInterpreterState_Enable()
* _PyLong_FormatAdvancedWriter()
* _PyLong_FormatBytesWriter()
* _PyLong_FormatWriter()
* _PyMem_GetAllocatorName()
* _PyMem_SetDefaultAllocator()
* _PyMem_SetupAllocators()
* _PyOS_InterruptOccurred()
* _PyRuntimeState_Fini()
* _PyRuntimeState_Init()
* _PyRuntime_Finalize()
* _PyRuntime_Initialize()
* _PyThreadState_Bind()
* _PyThreadState_DeleteExcept()
* _PyThreadState_New()
* _PyThreadState_Swap()
* _PyType_CheckConsistency()
* _PyUnicodeTranslateError_Create()
* _Py_DumpExtensionModules()
* _Py_FatalErrorFormat()
@vstinner
vstinner force-pushed the extern2 branch from 601d099 to 85d3727 Compare July 25, 2023 01:00
@vstinner
vstinner merged commit 5a61692 into python:main Jul 25, 2023
@bedevere-bot bedevere-bot removed the awaiting core review label Jul 25, 2023
@vstinner
vstinner deleted the extern2 branch July 25, 2023 01:49
@vstinner

vstinner commented Jul 25, 2023

Copy link
Copy Markdown
Member Author

The PR description is a outdated: I had to export again 7 functions to fix the build (Windows, Linux, macOS).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 27, 2023
@vstinner @jtcave
pythongh-107211: No longer export internal functions (2) (python#107214)
0d3f253
No longer export these 43 internal C API functions:

* _PyDict_CheckConsistency()
* _PyErr_ChainStackItem()
* _PyErr_CheckSignals()
* _PyErr_CheckSignalsTstate()
* _PyErr_Clear()
* _PyErr_ExceptionMatches()
* _PyErr_Fetch()
* _PyErr_Format()
* _PyErr_FormatFromCauseTstate()
* _PyErr_GetExcInfo()
* _PyErr_GetHandledException()
* _PyErr_GetTopmostException()
* _PyErr_NoMemory()
* _PyErr_NormalizeException()
* _PyErr_Restore()
* _PyErr_SetHandledException()
* _PyErr_SetNone()
* _PyErr_SetObject()
* _PyErr_SetString()
* _PyErr_StackItemToExcInfoTuple()
* _PyExc_CreateExceptionGroup()
* _PyExc_PrepReraiseStar()
* _PyException_AddNote()
* _PyInterpreterState_Enable()
* _PyLong_FormatAdvancedWriter()
* _PyLong_FormatBytesWriter()
* _PyLong_FormatWriter()
* _PyMem_GetAllocatorName()
* _PyMem_SetDefaultAllocator()
* _PyMem_SetupAllocators()
* _PyOS_InterruptOccurred()
* _PyRuntimeState_Fini()
* _PyRuntimeState_Init()
* _PyRuntime_Finalize()
* _PyRuntime_Initialize()
* _PyThreadState_Bind()
* _PyThreadState_DeleteExcept()
* _PyThreadState_New()
* _PyThreadState_Swap()
* _PyType_CheckConsistency()
* _PyUnicodeTranslateError_Create()
* _Py_DumpExtensionModules()
* _Py_FatalErrorFormat()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news topic-C-API

Projects

None yet

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.

2 participants

@vstinner @bedevere-bot
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.