Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9d7e46

Browse files
vstinnerbefeleme
authored andcommitted
00420:pythongh-114626: Add again _PyCFunctionFastWithKeywords name (pythonGH-115561)
Keep the old private _PyCFunctionFastWithKeywords name (Python 3.7)as an alias to the new public name PyCFunctionFastWithKeywords(Python 3.13a4)._PyCFunctionWithKeywords doesn't exist in Python 3.13a3, whereas_PyCFunctionFastWithKeywords was removed in Python 3.13a4.
1 parent3357fac commitd9d7e46

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎Include/methodobject.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ typedef PyObject *(*PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *,
3131
// Note that the underscore-prefixed names were documented in public docs;
3232
// people may be using them.
3333
typedefPyCFunctionFast_PyCFunctionFast;
34-
typedefPyCFunctionWithKeywords_PyCFunctionWithKeywords;
34+
typedefPyCFunctionFastWithKeywords_PyCFunctionFastWithKeywords;
3535

3636
// Cast an function to the PyCFunction type to use it with PyMethodDef.
3737
//
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Add again ``_PyCFunctionFastWithKeywords`` name, removed in Python 3.13
2+
alpha 4 by mistake. Keep the old private ``_PyCFunctionFastWithKeywords``
3+
name (Python 3.7) as an alias to the new public name
4+
``PyCFunctionFastWithKeywords`` (Python 3.13a4). Patch by Victor Stinner.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp