| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -1358,3 +1358,19 @@ Removed | |
| AST object (``mod_ty`` type) with the public C API. The function was already | ||
| excluded from the limited C API (:pep:`384`). | ||
| (Contributed by Victor Stinner in :issue:`43244`.) | ||
|
|
||
| * Remove the ``symtable.h`` header file and the undocumented functions: | ||
|
|
||
| * ``PyST_GetScope()`` | ||
| * ``PySymtable_Build()`` | ||
| * ``PySymtable_BuildObject()`` | ||
| * ``PySymtable_Free()`` | ||
| * ``Py_SymtableString()`` | ||
| * ``Py_SymtableStringObject()`` | ||
|
|
||
| The ``Py_SymtableString()`` function was part the stable ABI by mistake but | ||
| it could not be used, because the ``symtable.h`` header file was excluded | ||
| from the limited C API. | ||
|
|
||
| The Python :mod:`symtable` module remains available and is unchanged. | ||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityI would remove this, we are in the C-API changes section already.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityIt's to say that the function remains available, it's just that the low-level C API is no longer available. It's possible to use the symtable module in C.
Sorry, something went wrong.
All reactions
|
||
| (Contributed by Victor Stinner in :issue:`43244`.) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| Remove the ``symtable.h`` header file and the undocumented functions: | ||
|
|
||
| * ``PyST_GetScope()`` | ||
| * ``PySymtable_Build()`` | ||
| * ``PySymtable_BuildObject()`` | ||
| * ``PySymtable_Free()`` | ||
| * ``Py_SymtableString()`` | ||
| * ``Py_SymtableStringObject()`` | ||
|
|
||
| The ``Py_SymtableString()`` function was part the stable ABI by mistake but it | ||
| could not be used, because the ``symtable.h`` header file was excluded from the | ||
| limited C API. | ||
|
|
||
| The Python :mod:`symtable` module remains available and is unchanged. | ||
|
|
||
| Patch by Victor Stinner. |
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityNot sure if this should be here, as it was never documented
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityPreviously, I didn't document such changes, but there is always one project sleeping somewhere which relies on the modified/removed function, and then it's painful to understand why the project is broken. Even if a function is very well hidden and not documented, there is always a secret project relying on it :-)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.