8000 gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays by iritkatriel · Pull Request #133396 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays #133396

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
  • Loading branch information
iritkatriel and mdboom authored May 5, 2025
commit 454bfc54b6cd69b3d30ca7eacfadd3071d4af601
2 changes: 1 addition & 1 deletion Include/cpython/object.h
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ typedef struct {
* backwards-compatibility */
typedef Py_ssize_t printfunc;

/* Specialize a binary by setting the descriptor pointer */
/* Specialize a binary op by setting the descriptor pointer */
struct _PyBinopSpecializationDescr;
typedef int (*binop_specialize_func)(PyObject *v, PyObject *w, int oparg,
struct _PyBinopSpecializationDescr **descr);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Add option for extension modules to specialised ``BINARY_OP`` instructions.
Add option for extension modules to specialize ``BINARY_OP`` instructions.
Applied to ``array`` objects.
Loading
0