commit | 60324d26b58c89d68abb23fb42f1563d395c3910 | [log] [tgz] |
---|---|---|
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Oct 29 04:02:50 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Oct 29 13:02:50 2020 +0200 |
tree | ed2c9384c27821aae8ca39e5bfad84c5d543c65d | |
parent | 577d7c4e628260eb7926d043ca9c355ece583eb7 [diff] |
bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953) (GH-23021) func_dealloc() does not handle partially-created objects. Best not to give it any. (cherry picked from commit 350526105fa9b131d8b941ae753378b741dabb2f) Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>