Skip to content

locale.getdefaultlocale() fails on Mac OS X with default language set to English #62578

@DmitryJemerov

Description

@DmitryJemerov
BPO 18378
Nosy @malemburg, @loewis, @barry-scott, @ronaldoussoren, @ncoghlan, @mattheww, @ned-deily, @bitdancer, @larryv, @serhiy-storchaka, @wm75, @Kentzo, @tsparber, @karolyi, @miss-islington, @BoboTiG, @rfrail3
PRs
  • bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename #14736
  • [3.8] bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) #15569
  • [3.7] bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) #15570
  • Files
  • getdefaultlocale.patch: Patch with tests
  • issue-18378-py27.txt
  • issue-18378-py35.txt
  • issue18378-2015-07-25-py36.txt
  • 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 2019-08-29.06:30:06.592>
    created_at = <Date 2013-07-06.12:19:03.656>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'locale.getdefaultlocale() fails on Mac OS X with default language set to English'
    updated_at = <Date 2019-08-29.06:30:06.586>
    user = 'https://bugs.python.org/DmitryJemerov'

    bugs.python.org fields:

    activity = <Date 2019-08-29.06:30:06.586>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-29.06:30:06.592>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2013-07-06.12:19:03.656>
    creator = 'Dmitry.Jemerov'
    dependencies = []
    files = ['30807', '39384', '39385', '40014']
    hgrepos = []
    issue_num = 18378
    keywords = ['patch', 'needs review']
    message_count = 45.0
    messages = ['192422', '192429', '192433', '192445', '192446', '192447', '192460', '192820', '192821', '192822', '192827', '209731', '214397', '214555', '214556', '214564', '215215', '239485', '239702', '243262', '247318', '247322', '247326', '247333', '247335', '247338', '247339', '247418', '263659', '268579', '278540', '285317', '285318', '285319', '285329', '285360', '285370', '296829', '333371', '347803', '347805', '350706', '350709', '350710', '350731']
    nosy_count = 19.0
    nosy_names = ['lemburg', 'loewis', 'barry-scott', 'ronaldoussoren', 'ncoghlan', 'mattheww', 'ned.deily', 'r.david.murray', 'Dmitry.Jemerov', 'larryv', 'serhiy.storchaka', 'wolma', 'Ilya.Kulakov', 'tsparber', 'karolyi', 'alexander.sturm', 'miss-islington', 'Tiger-222', 'rfrail3']
    pr_nums = ['14736', '15569', '15570']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18378'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions