Skip to content

Commit 8f9a91b

Browse files
committed
address review
1 parent 2d4b969 commit 8f9a91b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,11 +1396,11 @@ Deprecated
13961396
* :c:func:`!_PyDict_GetItemStringWithError`: use :c:func:`PyDict_GetItemStringRef`.
13971397
* :c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`.
13981398
* :c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`.
1399+
* :c:func:`!_PyLong_New`: use :c:func:`PyLongWriter_Create`.
13991400
* :c:func:`!_PyThreadState_UncheckedGet`: use :c:func:`PyThreadState_GetUnchecked`.
14001401
* :c:func:`!_PyUnicode_AsString`: use :c:func:`PyUnicode_AsUTF8`.
14011402
* :c:func:`!_Py_HashPointer`: use :c:func:`Py_HashPointer`.
14021403
* :c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`.
1403-
* :c:func:`!_PyLong_New`: use :c:func:`PyLongWriter_Create`.
14041404

14051405
The `pythoncapi-compat project`_ can be used to get these new public
14061406
functions on Python 3.13 and older.

Misc/NEWS.d/next/C_API/2025-01-15-11-42-07.gh-issue-128863.C9MkB_.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Python 3.18:
55
* :c:func:`!_PyDict_GetItemStringWithError`: use :c:func:`PyDict_GetItemStringRef`.
66
* :c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`.
77
* :c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`.
8+
* :c:func:`!_PyLong_New`: use :c:func:`PyLongWriter_Create`.
89
* :c:func:`!_PyThreadState_UncheckedGet`: use :c:func:`PyThreadState_GetUnchecked`.
910
* :c:func:`!_PyUnicode_AsString`: use :c:func:`PyUnicode_AsUTF8`.
1011
* :c:func:`!_Py_HashPointer`: use :c:func:`Py_HashPointer`.
1112
* :c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`.
12-
* :c:func:`!_PyLong_New`: use :c:func:`PyLongWriter_Create`.
1313

1414
The `pythoncapi-compat project
1515
<https://github.com/python/pythoncapi-compat/>`__ can be used to get these new

0 commit comments

Comments
 (0)