Skip to content

shutil.which wrong result on Windows #68693

@bobjalex

Description

@bobjalex
mannequin
BPO 24505
Nosy @pfmoore, @tjguk, @bitdancer, @zware, @SpecLad, @eryksun, @zooba, @bharel
Files
  • which2.py: A sample of 'which' function corrected
  • issue 24505 proposed patch windows cmd semantics.patch: Proposed patch following cmd.exe semantics
  • issue-24505-proposed-patch-2.patch
  • new_which_bug_files.zip: ZIP file with suggested file updates
  • 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 2015-06-24.22:09:39.162> labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows'] title = 'shutil.which wrong result on Windows' updated_at = <Date 2021-03-20.14:30:08.693> user = 'https://bugs.python.org/bobjalex'

    bugs.python.org fields:

    activity = <Date 2021-03-20.14:30:08.693> actor = 'vstinner' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)', 'Windows'] creation = <Date 2015-06-24.22:09:39.162> creator = 'bobjalex' dependencies = [] files = ['39805', '41338', '41459', '42365'] hgrepos = [] issue_num = 24505 keywords = ['patch'] message_count = 20.0 messages = ['245780', '245792', '245885', '245887', '252329', '252341', '252355', '252358', '252359', '252367', '256242', '256373', '256613', '257248', '258413', '258415', '262854', '262875', '348640', '389137'] nosy_count = 10.0 nosy_names = ['paul.moore', 'tim.golden', 'r.david.murray', 'zach.ware', 'SpecLad', 'eryksun', 'steve.dower', 'bobjalex', 'bar.harel', 'tobytobkin'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue24505' versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeOS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions