python / python/cpython

Py_GetProgramFullPath() odd behaviour in Windows

Open
#78,906 24 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.7 (EOL) 3.8 (EOL) interpreter-core OS-windows
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 34725
Nosy @pfmoore, @ncoghlan, @vstinner, @tjguk, @ericsnowcurrently, @zware, @zooba
PRs
  • python/cpython#9860
  • python/cpython#9861
  • Files
  • poc.c: Example of odd behaviour
  • 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-09-18.17:26:47.540>
    labels = ['interpreter-core', '3.7', '3.8', 'OS-windows']
    title = 'Py_GetProgramFullPath() odd behaviour in Windows'
    updated_at = <Date 2019-05-27.21:30:46.561>
    user = 'https://bugs.python.org/mariofutire'
    

    bugs.python.org fields:

    activity = <Date 2019-05-27.21:30:46.561>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'Windows']
    creation = <Date 2018-09-18.17:26:47.540>
    creator = 'mariofutire'
    dependencies = []
    files = ['47814']
    hgrepos = []
    issue_num = 34725
    keywords = ['patch']
    message_count = 23.0
    messages = ['325666', '325668', '325669', '325674', '326035', '326042', '326970', '327000', '327081', '327249', '327364', '327370', '327447', '327489', '327659', '327701', '328054', '330036', '330037', '330038', '343644', '343681', '343691']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'ncoghlan', 'vstinner', 'tim.golden', 'eric.snow', 'zach.ware', 'steve.dower', 'mariofutire']
    pr_nums = ['9860', '9861']
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34725'
    versions = ['Python 3.7', 'Python 3.8']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start with the poc.c example linked in the issue and the implementation and tests for Py_GetProgramFullPath() on Windows. Review the discussion and PRs 9860 and 9861 before making changes, since the issue records prior work. Done means reproducing the reported behavior and establishing a tested, agreed correction.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    c, python
    Domain
    operating-systems
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.