os.environ updates only one copy of env vars under Windows (GetEnvironmentVariable vs. getenv)

Open
#60,837 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the issue history and running the referenced tryenv2.py environment-variable matrix on Windows. Determine whether the intended outcome is a documentation clarification or a behavioral fix; the issue is complete only when the discrepancy and expected os.environ behavior are resolved and verified.

Written by the indexing model from the issue text.

Description

docs type-bug
BPO 16633
Nosy @tjguk, @asvetlov
Files
  • tryenv2.py: Show environment variable matrix
  • 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 2012-12-07.12:01:43.915>
    labels = ['type-bug', 'docs']
    title = 'os.environ updates only one copy of env vars under Windows (GetEnvironmentVariable vs. getenv)'
    updated_at = <Date 2013-01-17.11:09:42.053>
    user = 'https://bugs.python.org/eudoxos'
    

    bugs.python.org fields:

    activity = <Date 2013-01-17.11:09:42.053>
    actor = 'goungy'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2012-12-07.12:01:43.915>
    creator = 'eudoxos'
    dependencies = []
    files = ['28243']
    hgrepos = []
    issue_num = 16633
    keywords = []
    message_count = 5.0
    messages = ['177081', '177087', '177088', '177099', '180122']
    nosy_count = 5.0
    nosy_names = ['tim.golden', 'asvetlov', 'docs@python', 'eudoxos', 'goungy']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16633'
    versions = ['Python 2.7', 'Python 3.3']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    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.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.