[3.14] gh-132775: Fix _PyFunctIon_VerifyStateless() (gh-134901) · python/cpython@9c2e0fe · GitHub
Skip to content

Commit 9c2e0fe

Browse files
[3.14] gh-132775: Fix _PyFunctIon_VerifyStateless() (gh-134901)
gh-132775: Fix _PyFunctIon_VerifyStateless() () 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. (cherry picked from commit dafd141, AKA gh-134900) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
1 parent 4670ddd commit 9c2e0fe

1 file changed

Lines changed: 20 additions & 14 deletions

File tree

Objects/funcobject.c

Lines changed: 20 additions & 14 deletions

0 commit comments

Comments
 (0)