bpo-45582: Port getpath[p].c to Python by zooba · Pull Request #29041 · python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

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

awaiting core review

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

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

Make getpath.c easier to follow. #28909

bpo-43976: add vendor config #25718

bpo-45720: Drop references to shlwapi #29417

bpo-45582: Port getpath[p].c to getpath.py

View reviewed changes

🔨 test-with-buildbots

🔨 test-with-buildbots

Add missing PyMem_Free

bpo-46263: Do not ever expect "use_frozen_modules" to be -1. #30438

New venv launchers are broken msys2-contrib/cpython-mingw#90

Python 3.11 Update msys2-contrib/cpython-mingw#101

Add patch for use with Python 3.11 conda-forge/crossenv-feedstock#34

Potential use-after-free in Py_SetPythonHome and its siblings #98978

Poetry tries using Python2 (usr/local/bin/python) instead of the provided distribution during install python-poetry/poetry#6940

3.11 support pypa/virtualenv#2440

sys._base_executable may not exist on posix venvs made with --copies #99204

Using link to execute relocated 3.11 bin/python3 fails to find libraries gregneagle/relocatable-python#31

remove outdated files from documentation #102216

unittest import loop with pre-release Python SCons/scons#4376

Rewrite getpath.c in Python #89745

Windows os.path.isabs UNC path bug #66498

Link python 'shortcut' to Python.app/Contents/MacOS/Python

Link python 'shortcut' to Python.app/Contents/MacOS/Python

Link python 'shortcut' to Python.app/Contents/MacOS/Python

Link python 'shortcut' to Python.app/Contents/MacOS/Python

Link python 'shortcut' to Python.app/Contents/MacOS/Python

Inconsistent platform support for taking the loaded libpython path into account in getpath #127970

sys.executable can be a relative path contrary to documented behavior [3.11 regression] #154160

gh-154160: Make sys.executable absolute when resolved from a relative PATH entry #154163