GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — win_add2path.py does not add user site directory · Issue #71883 · python/cpython

win_add2path.py does not add user site directory #71883

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
win_add2path.py does not add user site directory#71883
Copy link
Labels
OS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

altendky
mannequin
opened on Aug 5, 2016
Issue body actions
BPO 27696
Nosy @pfmoore, @tjguk, @zware, @zooba, @altendky
Files
  • win_add2path.patch
  • 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 2016-08-05.21:31:26.129>
    labels = ['type-bug', 'OS-windows']
    title = 'win_add2path.py does not add user site directory'
    updated_at = <Date 2016-08-06.07:35:18.905>
    user = 'https://github.com/altendky'

    bugs.python.org fields:

    activity = <Date 2016-08-06.07:35:18.905>
    actor = 'SilentGhost'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Demos and Tools', 'Windows']
    creation = <Date 2016-08-05.21:31:26.129>
    creator = 'altendky'
    dependencies = []
    files = ['44028']
    hgrepos = []
    issue_num = 27696
    keywords = ['patch']
    message_count = 1.0
    messages = ['272060']
    nosy_count = 5.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'altendky']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27696'
    versions = ['Python 3.5']

    Activity

    1. altendky commented on Aug 5, 2016

      @altendky
      altendkymannequin
      on Aug 5, 2016
      MannequinAuthor
      More actions

      Since the detected user path has the text %APPDATA% replaced into it os.path.isdir() returns False. As a result, the user site path is not added to the %PATH% variable.

      The patch adds os.path.expandvars() to the isdir() check to resolve this issue.

    2. altendky
      added
      type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      on Aug 5, 2016
    3. SilentGhost
      added
      OS-windows
      on Aug 6, 2016
    4. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    5. methane commented on Sep 29, 2026

      @methane
      methane
      on Sep 29, 2026
      Member
      More actions

      win_add2path.py had been removed. #97675

    6. methane
      closed this as not plannedon Sep 29, 2026
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.