Skip to content

Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings #80323

@vstinner

Description

@vstinner
BPO 36142
Nosy @ncoghlan, @vstinner
PRs
  • [WIP] bpo-36142: Rework Python init to add _PyPreConfig #12087
  • bpo-36142: Exclude coreconfig.h from Py_LIMITED_API #12111
  • bpo-36142: Rework error reporting in pymain_main() #12113
  • bpo-36142: Move command line parsing to coreconfig.c #12123
  • bpo-36142: Remove _PyMain structure #12120
  • bpo-36142: Add preconfig.c #12128
  • bpo-36142: Add _PyPreConfig structure #12172
  • bpo-36142: Add _PyPreConfig_ReadFromArgv() #12173
  • bpo-36142: Add _PyPreConfig.utf8_mode #12174
  • bpo-36142: Add _PyPreConfig.allocator #12181
  • bpo-36142: Add _PyMem_GetDebugAllocatorsName() #12185
  • bpo-36142: _PyPreConfig_Write() sets the allocator #12186
  • bpo-36142: Add _PyPreConfig_SetAllocator() #12187
  • bpo-36142: _PyPreConfig_Read() sets LC_CTYPE #12188
  • bpo-36142: PYTHONMALLOC overrides PYTHONDEV #12191
  • 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-03-06.00:55:55.754>
    created_at = <Date 2019-02-28.01:42:19.448>
    labels = ['interpreter-core', '3.8']
    title = 'Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings'
    updated_at = <Date 2019-03-06.11:51:55.470>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-03-06.11:51:55.470>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-06.00:55:55.754>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-02-28.01:42:19.448>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36142
    keywords = ['patch']
    message_count = 22.0
    messages = ['336791', '336792', '336887', '336918', '336921', '336924', '336931', '336946', '336989', '337024', '337161', '337164', '337182', '337225', '337241', '337244', '337246', '337249', '337250', '337253', '337254', '337295']
    nosy_count = 2.0
    nosy_names = ['ncoghlan', 'vstinner']
    pr_nums = ['12087', '12111', '12113', '12123', '12120', '12128', '12172', '12173', '12174', '12181', '12185', '12186', '12187', '12188', '12191']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36142'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions