Skip to content

Py_DecodeLocale() fails if used before the runtime is initialized. #76277

@ericsnowcurrently

Description

@ericsnowcurrently
BPO 32096
Nosy @ncoghlan, @vstinner, @ericsnowcurrently, @serhiy-storchaka, @AraHaan
PRs
  • bpo-32096: Statically initialize the default raw allocator. #4481
  • bpo-32096: Fall back to defaults in PyMem_RawMalloc() and PyMem_RawFree(). #4495
  • bpo-32096: Remove obj and mem from _PyRuntime #4532
  • bpo-32096: Ensure test can find the encodings module #4566
  • 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 = 'https://github.com/ericsnowcurrently'
    closed_at = <Date 2017-11-26.05:41:53.556>
    created_at = <Date 2017-11-20.21:28:36.310>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'Py_DecodeLocale() fails if used before the runtime is initialized.'
    updated_at = <Date 2017-11-26.05:41:53.555>
    user = 'https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity = <Date 2017-11-26.05:41:53.555>
    actor = 'ncoghlan'
    assignee = 'eric.snow'
    closed = True
    closed_date = <Date 2017-11-26.05:41:53.556>
    closer = 'ncoghlan'
    components = ['Interpreter Core']
    creation = <Date 2017-11-20.21:28:36.310>
    creator = 'eric.snow'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32096
    keywords = ['patch']
    message_count = 32.0
    messages = ['306585', '306587', '306591', '306614', '306654', '306655', '306656', '306658', '306659', '306660', '306662', '306689', '306708', '306717', '306718', '306737', '306740', '306764', '306766', '306769', '306772', '306774', '306889', '306893', '306895', '306896', '306938', '306949', '306982', '306987', '306989', '306993']
    nosy_count = 5.0
    nosy_names = ['ncoghlan', 'vstinner', 'eric.snow', 'serhiy.storchaka', 'Decorater']
    pr_nums = ['4481', '4495', '4532', '4566']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue32096'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions