gh-146075: Prevent crash in `functools.partial()` from malformed `str` subclass (GH-146078)
In `partial_vectorcall`, an error returned by `PyDict_Contains` was considered to be a truthy value. Now, the error is handled appropriately.
B
bkap123 committed
64862112b7beb005523e7bca15c59c78c5319e58
Parent: dfde59f
Committed by GitHub <noreply@github.com>
on 3/18/2026, 12:46:01 PM