◐ Shell
clean mode source ↗

Fix unlikely potential reference leak in _locale._getdefaultlocale by serhiy-storchaka · Pull Request #145250 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@serhiy-storchaka

It occurs in a code which perhaps never executed.

The bug was here from the beginning, from 8f017a0.

It occurs in a code which perhaps never executed.

@serhiy-storchaka serhiy-storchaka changed the title Fix unlikely ptential reference leak in _locale._getdefaultlocale Fix unlikely potential reference leak in _locale._getdefaultlocale

Feb 26, 2026

StanFromIreland

Choose a reason for hiding this comment

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

LGTM

@miss-islington-app

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 27, 2026
…ythonGH-145250)

It occurs in a code which perhaps never executed.
(cherry picked from commit 6ea84b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 27, 2026
…ythonGH-145250)

It occurs in a code which perhaps never executed.
(cherry picked from commit 6ea84b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

@bedevere-app

@bedevere-app

serhiy-storchaka added a commit that referenced this pull request

Feb 27, 2026
…cale (GH-145250) (GH-145302)

It occurs in a code which perhaps never executed.
(cherry picked from commit 6ea84b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request

Feb 28, 2026

serhiy-storchaka added a commit that referenced this pull request

Mar 24, 2026
…cale (GH-145250) (GH-145303)

It occurs in a code which perhaps never executed.
(cherry picked from commit 6ea84b2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026

Labels

2 participants

@serhiy-storchaka @StanFromIreland