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

Andrew Frost · GitHub

added 2 commits

May 3, 2022 12:53

Andrew Frost
Andrew Frost
@adphrost
@blurb-it
itamaro
vstinner
markshannon
@adphrost
@itamaro

Change how assertion is done Co-authored-by: Itamar Ostricher <[email protected]> Closed

Andrew Frost

Merged

Andrew Frost

Closed

Andrew Frost added 5 commits

June 15, 2022 18:05

Andrew Frost
Andrew Frost
Andrew Frost
Andrew Frost
Andrew Frost
vstinner
@itamaro
Andrew Frost
vstinner
vstinner
@itamaro

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

@itamaro
@itamaro

…TRIBUTE_OVERRIDDEN specialization)

Closed

- PEP-7 braces - add assert - raise TypeError

…_getattribute__

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

Closed