GH-75586: Fix case where PATHEXT isn't applied to items in PATH (Windows) by csm10495 · Pull Request #103179 · python/cpython · GitHub

github.com

Tin mới

csm10495:fix_which_pathext_windows

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

- Fix case where PATHEXT isn't applied to items in PAT…

shutil.which doesn't find files without PATHEXT extension on Windows #75586

View reviewed changes

View reviewed changes

📜🤖 Added by blurb_it.

Add changelog entry

View reviewed changes

Update Lib/shutil.py

View reviewed changes

View reviewed changes

Update Lib/test/test_shutil.py

Update Lib/test/test_shutil.py

View reviewed changes

Mention cwd first behavior

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

awaiting core review

awaiting core review

shutil.which wrong result on Windows #68693

: Make shutil.which() on Windows more consistent with t…

: Make shutil.which() on Windows more consistent with t…

On Windows, shutil.which incorrectly resolves to non-executable extensionless files (python >= 3.12.0b1) #109590

Missing rule for glib-mkenums mesonbuild/meson#12271

Add support for Python 3.12 GenericMappingTools/pygmt#2711

245 support the new version of khiops env KhiopsML/khiops-python#252

external_project: workaround for MinGW mesonbuild/meson#13886

shutil.which() can return non-executable path starting with 3.12 on Windows #127001

shutil.which cannot return PathLike, and fails with cmd: PathLike on Windows Python < 3.12 python/typeshed#13580

PR for #137: test new python versions JMSLab/Template#138

fix: make Doctor repairs actionable and resilient cisco-ai-defense/defenseclaw#644

feat(console): code structure table with import coupling Lyellr88/marm-memory#150