◐ Shell
clean mode source ↗

[3.8] bpo-42866: Fix refleak in CJK getcodec() (GH-24165) by miss-islington · Pull Request #24168 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@miss-islington

@miss-islington miss-islington commented

Jan 8, 2021

edited by bedevere-bot

Loading

Copy link Copy Markdown

Contributor

Fix a reference leak in the getcodec() function of CJK codecs.
(cherry picked from commit e542d41)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue42866

Fix a reference leak in the getcodec() function of CJK codecs.
(cherry picked from commit e542d41)

Co-authored-by: Victor Stinner <vstinner@python.org>

@miss-islington

Copy link Copy Markdown

Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington

Copy link Copy Markdown

Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@vstinner vstinner left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington

Copy link Copy Markdown

Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

@vstinner

vstinner commented

Jan 8, 2021

Copy link Copy Markdown

Member

Oh, getmultibytecodec() holds a reference to cofunc. My backport is wrong, sorry.

@vstinner vstinner closed this

Jan 8, 2021

@miss-islington miss-islington deleted the backport-e542d41-3.8 branch

January 8, 2021 14:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington @vstinner @the-knights-who-say-ni @bedevere-bot