File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -373,9 +373,11 @@ CPython bytecode changes
373
373
* Replaced all numeric ``BINARY_* `` and ``INPLACE_* `` instructions with a single
374
374
:opcode: `BINARY_OP ` implementation.
375
375
376
- * Added a new :opcode: `CALL_METHOD_KW ` opcode. Calls a method in a similar
377
- fashion as :opcode: `CALL_METHOD `, but also supports keyword arguments. Works
378
- in tandem with :opcode: `LOAD_METHOD `.
376
+ * Replaced the three call instructions: :opcode: `CALL_FUNCTION `,
377
+ :opcode: `CALL_FUNCTION_KW ` and :opcode: `CALL_METHOD ` with
378
+ :opcode: `CALL_NO_KW `, :opcode: `CALL_KW ` and :opcode: `PRECALL_METHOD `.
379
+ This decouples the argument shifting for methods from the handling of
380
+ keyword arguments and allows better specialization of calls.
379
381
380
382
* Removed ``COPY_DICT_WITHOUT_KEYS ``.
381
383
You can’t perform that action at this time.
0 commit comments