gh-91049: Introduce set vectorcall field API for PyFunctionObject by adphrost · Pull Request #92257 · python/cpython

added 2 commits

May 3, 2022 12:53

@blurb-it

itamaro

vstinner

markshannon

@adphrost @itamaro

Change how assertion is done

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>

Andrew Frost added 5 commits

June 15, 2022 18:05

vstinner

@itamaro

vstinner

vstinner

…(replace with assert) - func version check is sufficient

@itamaro

@itamaro

@itamaro

…TRIBUTE_OVERRIDDEN specialization)

Fidget-Spinner

markshannon

@itamaro

erlend-aasland

- PEP-7 braces
- add assert
- raise TypeError

@itamaro

Fidget-Spinner

@itamaro

1. test specialization doesn't trigger when vectorcall is already overridden
2. test specialization gets deopted when vectorcall is overridden after specialization triggered

erlend-aasland

markshannon

@itamaro