+
Skip to content

Deprecate locale.getdefaultlocale() function #90817

@vstinner

Description

@vstinner
BPO 46659
Nosy @malemburg, @vstinner, @serhiy-storchaka, @eryksun
PRs
  • bpo-46659: calendar uses locale.getlocale() #31166
  • bpo-46659: test.support avoids locale.getdefaultlocale() #31167
  • bpo-46659: Update the test on the mbcs codec alias #31168
  • bpo-46659: Deprecate locale.getdefaultlocale() #31206
  • bpo-46659: Enhance LocaleTextCalendar for C locale #31214
  • bpo-46659: Fix the MBCS codec alias on Windows #31218
  • Files
  • cal_locale.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-02-24.13:41:35.585>
    created_at = <Date 2022-02-06.17:33:14.432>
    labels = ['library', '3.11']
    title = 'Deprecate locale.getdefaultlocale() function'
    updated_at = <Date 2022-02-24.14:53:20.800>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2022-02-24.14:53:20.800>
    actor = 'lemburg'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-02-24.13:41:35.585>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2022-02-06.17:33:14.432>
    creator = 'vstinner'
    dependencies = []
    files = ['50606']
    hgrepos = []
    issue_num = 46659
    keywords = ['patch']
    message_count = 19.0
    messages = ['412647', '412652', '412664', '412666', '412667', '412668', '412687', '412800', '412819', '412825', '412826', '412827', '412829', '412842', '413744', '413745', '413907', '413910', '413915']
    nosy_count = 4.0
    nosy_names = ['lemburg', 'vstinner', 'serhiy.storchaka', 'eryksun']
    pr_nums = ['31166', '31167', '31168', '31206', '31214', '31218']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46659'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载