Repository navigation
Commit d4286c6
Use AC vectorcall for slice()
Convert slice.__new__ to Argument Clinic with @vectorcall so that
calling slice() does not build an argument tuple and the call can be
specialized as CALL_BUILTIN_CLASS.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 637fb36 commit d4286c6
3 files changed
Lines changed: 101 additions & 11 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
- clinic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
315 | 322 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
323 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
324 | 334 | | |
325 | 335 | | |
326 | 336 | | |
| |||
702 | 712 | | |
703 | 713 | | |
704 | 714 | | |
| 715 | + | |
705 | 716 | | |
0 commit comments