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

gh-114626: Add again _PyCFunctionFastWithKeywords name#115561

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 1 commit intopython:mainfromvstinner:with_kwds
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-114626: Add again _PyCFunctionFastWithKeywords name
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.
  • Loading branch information
@vstinner
vstinner committedFeb 16, 2024
commitb77ecfea17561c635cc2c3da27124326ddb90a46
2 changes: 1 addition & 1 deletionInclude/methodobject.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,7 @@ typedef PyObject *(*PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *,
// Note that the underscore-prefixed names were documented in public docs;
// people may be using them.
typedef PyCFunctionFast _PyCFunctionFast;
typedefPyCFunctionWithKeywords _PyCFunctionWithKeywords;
typedefPyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords;

// Cast an function to the PyCFunction type to use it with PyMethodDef.
//
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
Add again ``_PyCFunctionFastWithKeywords`` name, removed in Python 3.13
alpha 4 by mistake. Keep the old private ``_PyCFunctionFastWithKeywords``
name (Python 3.7) as an alias to the new public name
``PyCFunctionFastWithKeywords`` (Python 3.13a4). Patch by Victor Stinner.

[8]ページ先頭

©2009-2025 Movatter.jp