Skip to content

backports import path can not be overridden in Windows (Linux works fine) #75922

@ChrisCaron

Description

@ChrisCaron
mannequin
BPO 31741
Nosy @pfmoore, @tjguk, @bitdancer, @zware, @zooba
Files
  • Test.py: A Test script showing the PYTHONPATH issue i'm having
  • site-packages-Directory.png: C:\Python27\Lib\site-packages\backports
  • Test.Directory.png: C:\Python.Bug\Test - a test directory i created and placed the full backports.ssl_match_hostname in
  • Test.Script.Backports.Dir.png: The backports directory (in my C:\Python.Bug\Test). The contents are different then the contents in the C:\Python27\Lib\site-packages\backports
  • Test.Script.Output.png: Output of the Test.py script I already attached showing the problem
  • Python.Test.zip: The entire Test Directory (with the Test.py and Test directory) incase you want to see the entire test dev i'm sharing
  • 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 2017-10-12.05:05:21.767>
    created_at = <Date 2017-10-09.21:48:05.608>
    labels = ['type-bug', 'invalid', 'OS-windows']
    title = 'backports import path can not be overridden in Windows (Linux works fine)'
    updated_at = <Date 2017-10-12.07:45:58.259>
    user = 'https://bugs.python.org/ChrisCaron'

    bugs.python.org fields:

    activity = <Date 2017-10-12.07:45:58.259>
    actor = 'paul.moore'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-12.05:05:21.767>
    closer = 'zach.ware'
    components = ['Windows']
    creation = <Date 2017-10-09.21:48:05.608>
    creator = 'Chris Caron'
    dependencies = []
    files = ['47205', '47206', '47207', '47208', '47209', '47210']
    hgrepos = []
    issue_num = 31741
    keywords = []
    message_count = 13.0
    messages = ['304001', '304002', '304003', '304004', '304020', '304095', '304115', '304134', '304142', '304190', '304193', '304204', '304213']
    nosy_count = 6.0
    nosy_names = ['paul.moore', 'tim.golden', 'r.david.murray', 'zach.ware', 'steve.dower', 'Chris Caron']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31741'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowstype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions