SIGN IN SIGN UP

gh-132775: Fix _PyFunctIon_VerifyStateless() (#134900)

The problem we're fixing here is that we were using PyDict_Size() on "defaults",
which it is actually a tuple.  We're also adding some explicit type checks.

This is a follow-up to gh-133221/gh-133528.
E
Eric Snow committed
dafd14146f7ca18932894ea445a2f9f98f2a8b01
Parent: d963436
Committed by GitHub <noreply@github.com> on 5/29/2025, 8:13:12 PM