GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||
GeezerVison is showing github.com — GH-109190: Copyedit 3.12 What's New: Improve the C-API deprecations section by AA-Turner · Pull Request #109751 · python/cpython Conversation
|
| * Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable | ||
| bases using the C API (:gh:`95388`) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Note this entry was duplicated; I've only kept one of them
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks for going through all deprecated C API! I didn't realize that this list was so long!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Serhiy Storchaka <[email protected]>
| * :c:func:`!PyUnicode_AsEncodedUnicode`: use c:func:`PyCodec_Encode` | ||
| * :c:func:`PyUnicode_READY`: unneeded since Python 3.12 | ||
| * :c:func:`!PyErr_Display`: use :c:func:`PyErr_DisplayException` | ||
| * :c:func:`!_PyErr_ChainExceptions`: use ``_PyErr_ChainExceptions1`` |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this. It is an internal convenient function, and it can be removed or changed in incompatible way without warning.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We're recommending a private replacement to a private function here, so I think it's fine. This isn't saying that readers should use the functions, just what the replacements for the deprecated versions are.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ions section (pythonGH-109751) (cherry picked from commit bccc1b7) Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
|
GH-109830 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Would you mind to copy the "Pending Removal xxx" sections of C API Changes to What's New In Python 3.13? (main branch) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Done: #109843 A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…tions section (GH-109751) (#109830) * GH-109190: Copyedit 3.12 What's New: Improve the C-API deprecations section (GH-109751) (cherry picked from commit bccc1b7) Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]> * Remove the weakref get object functions --------- Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…ions section (python#109751) Co-authored-by: Serhiy Storchaka <[email protected]>
…ions section (python#109751) Co-authored-by: Serhiy Storchaka <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.