Skip to content

[3.9] bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)#23021

Merged
serhiy-storchaka merged 1 commit intopython:3.9from
miss-islington:backport-3505261-3.9
Oct 29, 2020
Merged

[3.9] bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)#23021
serhiy-storchaka merged 1 commit intopython:3.9from
miss-islington:backport-3505261-3.9

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 29, 2020

func_dealloc() does not handle partially-created objects. Best not to give it any.
(cherry picked from commit 3505261)

Co-authored-by: Yonatan Goldschmidt yon.goldschmidt@gmail.com

https://bugs.python.org/issue42143

…ing the func object (pythonGH-22953)

func_dealloc() does not handle partially-created objects. Best not to give it any.
(cherry picked from commit 3505261)

Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
@miss-islington
Copy link
Contributor Author

@Jongy and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@Jongy and @serhiy-storchaka: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@Jongy and @serhiy-storchaka: Status check is done, and it's a success ✅ .

@serhiy-storchaka serhiy-storchaka merged commit 60324d2 into python:3.9 Oct 29, 2020
@miss-islington miss-islington deleted the backport-3505261-3.9 branch October 29, 2020 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants