Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)

BPO 36352
Nosy @vstinner
PRs
  • bpo-36352: Add error handling to getpath.c #12421
  • bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c #12423
  • 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-19.01:59:28.486>
    created_at = <Date 2019-03-18.16:46:40.595>
    labels = ['interpreter-core', '3.8']
    title = 'Modules/getpath.c should not use hardcoded buffer sizes (MAXPATHLEN)'
    updated_at = <Date 2019-03-19.01:59:28.486>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-03-19.01:59:28.486>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-19.01:59:28.486>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-03-18.16:46:40.595>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36352
    keywords = ['patch']
    message_count = 5.0
    messages = ['338255', '338256', '338295', '338309', '338310']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['12421', '12423']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36352'
    versions = ['Python 3.8']