Commit f5c7b7c
pythongh-87613: Add vectorcall to bytes.__new__ via Argument Clinic
Use the new @vectorcall decorator to generate a vectorcall constructor
for bytes, enabling the fast calling path without tuple/dict packing.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 25b8637 commit f5c7b7c
2 files changed
+142
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2859 | 2859 | | |
2860 | 2860 | | |
2861 | 2861 | | |
| 2862 | + | |
2862 | 2863 | | |
2863 | 2864 | | |
2864 | 2865 | | |
| |||
2871 | 2872 | | |
2872 | 2873 | | |
2873 | 2874 | | |
2874 | | - | |
| 2875 | + | |
2875 | 2876 | | |
2876 | 2877 | | |
2877 | 2878 | | |
| |||
3248 | 3249 | | |
3249 | 3250 | | |
3250 | 3251 | | |
| 3252 | + | |
3251 | 3253 | | |
3252 | 3254 | | |
3253 | 3255 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments