[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 60324d26b58c89d68abb23fb42f1563d395c3910 by Miss Skeleton (bot) in branch '3.9': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953) (GH-23021)

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset 9ede1b071bf5250ba5f2d04d7ba86a24c06d41a1 by Miss Skeleton (bot) in branch '3.8': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21935 pull_request: https://github.com/python/cpython/pull/23021 ___ Python tracker

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +21936 pull_request: https://github.com/python/cpython/pull/23022 ___ Python tracker ___

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 350526105fa9b131d8b941ae753378b741dabb2f by Yonatan Goldschmidt in branch 'master': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-24 Thread Yonatan Goldschmidt
Change by Yonatan Goldschmidt : -- keywords: +patch pull_requests: +21871 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22953 ___ Python tracker

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-24 Thread Yonatan Goldschmidt
New submission from Yonatan Goldschmidt : While reading funcobject.c, I noticed that PyFunction_NewWithQualName() may exit early if it fails retrieving __name__ from the globals dict. It will destroy the partially-created PyFunction object. However, this is done before ever initializing