Skip to content

[Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit() #79376

Closed
@Dragoljub

Description

@Dragoljub
mannequin
BPO 35195
Nosy @pfmoore, @vstinner, @tjguk, @zware, @zooba, @tirkarthi, @dragoljub
Files
  • test_isdigit.c
  • setup.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 = None
    created_at = <Date 2018-11-08.22:56:21.101>
    labels = ['3.7', '3.8', 'expert-IO', 'OS-windows', 'performance']
    title = '[Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()'
    updated_at = <Date 2019-05-17.09:56:11.306>
    user = 'https://github.com/Dragoljub'

    bugs.python.org fields:

    activity = <Date 2019-05-17.09:56:11.306>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Windows', 'IO']
    creation = <Date 2018-11-08.22:56:21.101>
    creator = 'Dragoljub'
    dependencies = []
    files = ['47928', '47929']
    hgrepos = []
    issue_num = 35195
    keywords = []
    message_count = 23.0
    messages = ['329490', '329545', '329573', '329575', '329587', '329589', '329592', '329641', '329743', '329745', '329786', '329787', '329789', '329790', '329791', '329792', '329793', '329828', '329854', '329855', '330007', '341901', '342702']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'cgohlke', 'zach.ware', 'steve.dower', 'xtreak', 'Dragoljub']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue35195'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions