Commit 7de2ab7
pythongh-87613: Add vectorcall to bytearray.__init__ via Argument Clinic
Use the new @vectorcall decorator to generate a vectorcall constructor
for bytearray, enabling the fast calling path without tuple/dict
packing.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent d966263 commit 7de2ab7
2 files changed
+154
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| 906 | + | |
906 | 907 | | |
907 | 908 | | |
908 | 909 | | |
| |||
914 | 915 | | |
915 | 916 | | |
916 | 917 | | |
917 | | - | |
| 918 | + | |
918 | 919 | | |
919 | 920 | | |
920 | 921 | | |
| |||
2936 | 2937 | | |
2937 | 2938 | | |
2938 | 2939 | | |
| 2940 | + | |
2939 | 2941 | | |
2940 | 2942 | | |
2941 | 2943 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments