Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
posixpath.py
on
3.6
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 5, 2018
bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) (GH-10925)
Show description for 31b635d
vstinner
authored
31b635d
View commit details
Copy full SHA for 31b635d
View code at this point
Browse repository at this point
Commits on Jan 7, 2018
bpo-31802: Fix importing native path module before importing os. (GH-4017) (#5129)
Show description for 94a3fac
miss-islington
authored and
serhiy-storchaka
committed
94a3fac
View commit details
Copy full SHA for 94a3fac
View code at this point
Browse repository at this point
Commits on Aug 26, 2016
Issue #26027, #27524: Add PEP 519/__fspath__() support to os and
Show description for 3f9183b
brettcannon
committed
3f9183b
View commit details
Copy full SHA for 3f9183b
View code at this point
Browse repository at this point
Commits on Aug 19, 2016
#2466: ismount now recognizes mount points user can't access.
Show description for 750018b
bitdancer
committed
750018b
View commit details
Copy full SHA for 750018b
View code at this point
Browse repository at this point
Commits on Apr 16, 2016
Fix typos in code comments and documentation
vadmium
committed
119e502
View commit details
Copy full SHA for 119e502
View code at this point
Browse repository at this point
Commits on May 19, 2015
Issue #23780: Improved error message in os.path.join() with single argument.
Show description for 5bfc03f
serhiy-storchaka
committed
5bfc03f
View commit details
Copy full SHA for 5bfc03f
View code at this point
Browse repository at this point
Commits on Mar 31, 2015
Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath.
Show description for 3822093
serhiy-storchaka
committed
3822093
View commit details
Copy full SHA for 3822093
View code at this point
Browse repository at this point
Commits on Oct 4, 2014
Fixed tests on Windows for issue #21883.
serhiy-storchaka
committed
e4f4708
View commit details
Copy full SHA for e4f4708
View code at this point
Browse repository at this point
Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with
Show description for 3deeeb0
serhiy-storchaka
committed
3deeeb0
View commit details
Copy full SHA for 3deeeb0
View code at this point
Browse repository at this point
Commits on Aug 24, 2014
Issue #22034: Improve handling of wrong argument types in posixpath.join().
serhiy-storchaka
committed
1fa3626
View commit details
Copy full SHA for 1fa3626
View code at this point
Browse repository at this point
Issue #22034: Got rid of misleading error message for bytearray arguments in
Show description for 549c197
serhiy-storchaka
committed
549c197
View commit details
Copy full SHA for 549c197
View code at this point
Browse repository at this point
Commits on Jun 18, 2014
Issue #3485: remove misleading comment
ned-deily
committed
845fd9a
View commit details
Copy full SHA for 845fd9a
View code at this point
Browse repository at this point
Commits on Feb 13, 2014
Fixed typo in previous commit (issue #6815).
serhiy-storchaka
committed
1392f68
View commit details
Copy full SHA for 1392f68
View code at this point
Browse repository at this point
Fixed typo in previous commit (issue #6815).
serhiy-storchaka
committed
ffadbb7
View commit details
Copy full SHA for ffadbb7
View code at this point
Browse repository at this point
Issue #6815: os.path.expandvars() now supports non-ASCII environment
Show description for 7dfaa27
serhiy-storchaka
committed
7dfaa27
View commit details
Copy full SHA for 7dfaa27
View code at this point
Browse repository at this point
Issue #6815: os.path.expandvars() now supports non-ASCII environment
Show description for dbb1019
serhiy-storchaka
committed
dbb1019
View commit details
Copy full SHA for dbb1019
View code at this point
Browse repository at this point
Commits on Jul 23, 2013
Add in a comment that was removed in 240adc564539 (requested by Victor Stinner)
briancurtin
committed
a3852ff
View commit details
Copy full SHA for a3852ff
View code at this point
Browse repository at this point
Commits on Jul 22, 2013
Fix #18530. Remove extra stat call from posixpath.ismount
briancurtin
committed
06f6fbf
View commit details
Copy full SHA for 06f6fbf
View code at this point
Browse repository at this point
Commits on Feb 18, 2013
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
serhiy-storchaka
committed
2a47954
View commit details
Copy full SHA for 2a47954
View code at this point
Browse repository at this point
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
serhiy-storchaka
committed
407aa2d
View commit details
Copy full SHA for 407aa2d
View code at this point
Browse repository at this point
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
serhiy-storchaka
committed
467393d
View commit details
Copy full SHA for 467393d
View code at this point
Browse repository at this point
Commits on Feb 10, 2013
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
serhiy-storchaka
committed
f261923
View commit details
Copy full SHA for f261923
View code at this point
Browse repository at this point
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
serhiy-storchaka
committed
d83c824
View commit details
Copy full SHA for d83c824
View code at this point
Browse repository at this point
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
serhiy-storchaka
committed
df32691
View commit details
Copy full SHA for df32691
View code at this point
Browse repository at this point
Commits on Dec 26, 2012
Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.
Show description for 490b32a
briancurtin
committed
490b32a
View commit details
Copy full SHA for 490b32a
View code at this point
Browse repository at this point
Commits on Dec 18, 2012
Issue #16706: get rid of os.error
asvetlov
committed
ad28c7f
View commit details
Copy full SHA for ad28c7f
View code at this point
Browse repository at this point
Commits on Jul 21, 2012
Merge #15342: Add clarifying sentence to posixpath.join docstring.
Show description for 779b63d
bitdancer
committed
779b63d
View commit details
Copy full SHA for 779b63d
View code at this point
Browse repository at this point
#15342: Add clarifying sentence to posixpath.join docstring.
Show description for e3de175
bitdancer
committed
e3de175
View commit details
Copy full SHA for e3de175
View code at this point
Browse repository at this point
Commits on Jul 17, 2012
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Show description for 1815191
hynek
committed
1815191
View commit details
Copy full SHA for 1815191
View code at this point
Browse repository at this point
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Show description for c5a4566
hynek
committed
c5a4566
View commit details
Copy full SHA for c5a4566
View code at this point
Browse repository at this point
Commits on Jul 15, 2012
#15180: Clarify posixpath.join() error message when mixing str & bytes
hynek
committed
9ac4d88
View commit details
Copy full SHA for 9ac4d88
View code at this point
Browse repository at this point
#15180: Clarify posixpath.join() error message when mixing str & bytes
hynek
committed
4774946
View commit details
Copy full SHA for 4774946
View code at this point
Browse repository at this point
Commits on May 10, 2012
Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
jcea
committed
7f0d888
View commit details
Copy full SHA for 7f0d888
View code at this point
Browse repository at this point
Commits on Oct 18, 2010
Issue #5117: Case normalization was needed on ntpath.relpath(). And
Show description for b08820a
Hirokazu Yamamoto
committed
b08820a
View commit details
Copy full SHA for b08820a
View code at this point
Browse repository at this point
Commits on Sep 29, 2010
Use os.fsencode() to support surrogates
Victor Stinner
committed
16004ac
View commit details
Copy full SHA for 16004ac
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.