GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated function `locale.getdefaultlocale` · Issue #134086 · python/cpython

Remove deprecated function locale.getdefaultlocale #134086

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Remove deprecated function locale.getdefaultlocale#134086
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Description

@picnixz
picnixz
opened on May 16, 2025
Issue body actions

Feature or enhancement

It was deprecated in Python 3.11, and planned to be removed in 3.13, but then delayed until 3.15.

Some related issues that we maybe need to solve before really removing it: #130796.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

#130796

Linked PRs

  • gh-134086: Remove deprecated function locale.getdefaultlocale #134129

Activity

  1. picnixz
    added this to Locale issues 🗺on May 16, 2025
  2. picnixz
    added
    type-featureA feature request or enhancementA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on May 16, 2025
  3. github-project-automation
    moved this to Todo in Locale issues 🗺on May 16, 2025
  4. mkaraev commented on May 16, 2025

    @mkaraev
    mkaraev
    on May 16, 2025
    Contributor
    More actions

    @picnixz it seems to be a good issue for first-time contribution. Could I help with it?

  5. StanFromIreland commented on May 16, 2025

    @StanFromIreland
    StanFromIreland
    on May 16, 2025
    Member
    More actions

    @mkaraev Feel free to submit a solution for:

    Some related issues that we maybe need to solve before really removing it: #130796.

    This one has to wait.

  6. sergey-miryanov commented on May 16, 2025

    @sergey-miryanov
    sergey-miryanov
    on May 16, 2025
    Contributor
    More actions

    @picnixz it seems to be a good issue for first-time contribution. Could I help with it?

    IIUC, you have to look 'easy' label - https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22

    Reacted by mkaraev
  7. StanFromIreland commented on May 17, 2025

    @StanFromIreland
    StanFromIreland
    on May 17, 2025
    Member
    More actions

    I created a draft for when the dependent is resolved. What do we want to do with windows_locale? It is now no longer used, and is not documented, but also not private for some reason. Deprecate normally for 3.16 or similar depending on external usage?

  8. StanFromIreland commented on Dec 23, 2025

    @StanFromIreland
    StanFromIreland
    on Dec 23, 2025
    Member
    More actions

    It has been undeprecated.

  9. StanFromIreland
    closed this as not plannedon Dec 23, 2025
  10. github-project-automation
    moved this from Todo to Done in Locale issues 🗺on Dec 23, 2025
  11. cclauss commented on Jun 11, 2026

    @cclauss
    cclauss
    on Jun 11, 2026
    Contributor
    More actions

    I am confused... Will locale.getdefaultlocale() be removed in Python 3.15?

    • Locale issues 🗺
  12. hugovk commented on Jun 11, 2026

    @hugovk
    hugovk
    on Jun 11, 2026
    Member
    More actions

    No, it was undeprecated in #130796 / #143069.

    Let's backport the undeprecation to avoid further confusion.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

    Projects

    • Locale issues 🗺
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.