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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
75.6k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
os.py
on
3.5
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 4, 2017
[3.5] bpo-30441: Fix bug when modifying os.environ while iterating over it (GH-2409). (#2557)
Show description for 1a3bc55
serhiy-storchaka
authored
1a3bc55
View commit details
Copy full SHA for 1a3bc55
View code at this point
Browse repository at this point
Commits on Oct 25, 2016
Issue #28353: os.fwalk() no longer fails on broken links.
serhiy-storchaka
committed
42babab
View commit details
Copy full SHA for 42babab
View code at this point
Browse repository at this point
Commits on Mar 29, 2016
Issue #25911: Backport os._DummyDirEntry fixes
Show description for 06ddd35
vstinner
committed
06ddd35
View commit details
Copy full SHA for 06ddd35
View code at this point
Browse repository at this point
Commits on Feb 24, 2016
Fixed a bug in os.walk() with bytes path on Windows caused by merging fixes
Show description for e14c07e
serhiy-storchaka
committed
e14c07e
View commit details
Copy full SHA for e14c07e
View code at this point
Browse repository at this point
Commits on Feb 11, 2016
Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.
serhiy-storchaka
committed
06c45e6
View commit details
Copy full SHA for 06c45e6
View code at this point
Browse repository at this point
Commits on Feb 8, 2016
Issue #25911: Restored support of bytes paths in os.walk() on Windows.
serhiy-storchaka
committed
5f6a0b4
View commit details
Copy full SHA for 5f6a0b4
View code at this point
Browse repository at this point
Commits on Dec 22, 2015
Issue #25860: os.fwalk() no longer skips remaining directories when error occurs.
Show description for 0bddc9e
serhiy-storchaka
committed
0bddc9e
View commit details
Copy full SHA for 0bddc9e
View code at this point
Browse repository at this point
Commits on Nov 20, 2015
Issue #25583: Merge makedirs fix from 3.4 into 3.5
vadmium
committed
97cabb9
View commit details
Copy full SHA for 97cabb9
View code at this point
Browse repository at this point
Commits on Nov 19, 2015
Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
vadmium
committed
a82642f
View commit details
Copy full SHA for a82642f
View code at this point
Browse repository at this point
Commits on Apr 14, 2015
merge 3.4 (#23929)
benjaminp
committed
cd1aa91
View commit details
Copy full SHA for cd1aa91
View code at this point
Browse repository at this point
remove useless word (closes #23929)
benjaminp
committed
52a3b74
View commit details
Copy full SHA for 52a3b74
View code at this point
Browse repository at this point
Commits on Mar 30, 2015
Issue #23605: Fix typo in an os.walk() comment
Show description for 5fdde71
vstinner
committed
5fdde71
View commit details
Copy full SHA for 5fdde71
View code at this point
Browse repository at this point
Commits on Mar 18, 2015
Issue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because
Show description for 7fea974
vstinner
committed
7fea974
View commit details
Copy full SHA for 7fea974
View code at this point
Browse repository at this point
Commits on Mar 12, 2015
Issue #23605: os.walk() doesn't need to call entry.is_symlink() if followlinks
Show description for 411bf64
vstinner
committed
411bf64
View commit details
Copy full SHA for 411bf64
View code at this point
Browse repository at this point
Commits on Mar 10, 2015
Issue #23605: os.walk() now calls os.scandir() instead of os.listdir().
Show description for 524a5ba
vstinner
committed
524a5ba
View commit details
Copy full SHA for 524a5ba
View code at this point
Browse repository at this point
Commits on Sep 26, 2014
os: Include posix functions in os.__all__. Closes issue #18554.
Show description for 97e2e06
Yury Selivanov
committed
97e2e06
View commit details
Copy full SHA for 97e2e06
View code at this point
Browse repository at this point
Commits on Jun 27, 2014
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.
ned-deily
committed
5c86701
View commit details
Copy full SHA for 5c86701
View code at this point
Browse repository at this point
Commits on Jun 16, 2014
clarify when the list of subdirectories is read (closes #13779)
benjaminp
committed
e58e0c7
View commit details
Copy full SHA for e58e0c7
View code at this point
Browse repository at this point
Commits on Apr 1, 2014
merge 3.3 (#21082)
benjaminp
committed
9dc203f
View commit details
Copy full SHA for 9dc203f
View code at this point
Browse repository at this point
merge 3.2 (#21082)
benjaminp
committed
4717e21
View commit details
Copy full SHA for 4717e21
View code at this point
Browse repository at this point
remove directory mode check from makedirs (closes #21082)
benjaminp
committed
ee5f1c1
View commit details
Copy full SHA for ee5f1c1
View code at this point
Browse repository at this point
Commits on Mar 20, 2014
Fix parameter name in docs for os.makedirs and os.removedirs.
Show description for a22ae21
zware
committed
a22ae21
View commit details
Copy full SHA for a22ae21
View code at this point
Browse repository at this point
Commits on Oct 13, 2013
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
tiran
committed
f1dc3ee
View commit details
Copy full SHA for f1dc3ee
View code at this point
Browse repository at this point
Commits on Oct 11, 2013
Issue #19209: Remove import of copyreg from the os module to speed up
Show description for 2582762
tiran
committed
2582762
View commit details
Copy full SHA for 2582762
View code at this point
Browse repository at this point
Commits on Aug 23, 2013
(Merge 3.3) Close #17702: On error, os.environb now removes suppress the except
Show description for a93c6db
vstinner
committed
a93c6db
View commit details
Copy full SHA for a93c6db
View code at this point
Browse repository at this point
Close #17702: On error, os.environb now removes suppress the except context
Show description for 0c2dd0c
vstinner
committed
0c2dd0c
View commit details
Copy full SHA for 0c2dd0c
View code at this point
Browse repository at this point
Commits on Jul 4, 2013
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
brettcannon
committed
cd171c8
View commit details
Copy full SHA for cd171c8
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18200: Update the stdlib (except tests) to use
Show description for 0a14066
brettcannon
committed
0a14066
View commit details
Copy full SHA for 0a14066
View code at this point
Browse repository at this point
Commits on May 7, 2013
Correction for 4f82b6cfee46.
shibturn
committed
c41917f
View commit details
Copy full SHA for c41917f
View code at this point
Browse repository at this point
Fix os.__all__ to is passes test___all__
shibturn
committed
ad34ef8
View commit details
Copy full SHA for ad34ef8
View code at this point
Browse repository at this point
Commits on Apr 14, 2013
(Merge 3.3) Close #17702: os.environ now raises KeyError with the original
Show description for 43aa0d0
vstinner
committed
43aa0d0
View commit details
Copy full SHA for 43aa0d0
View code at this point
Browse repository at this point
Close #17702: os.environ now raises KeyError with the original environment
Show description for 6d10139
vstinner
committed
6d10139
View commit details
Copy full SHA for 6d10139
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)
giampaolo
committed
0166a28
View commit details
Copy full SHA for 0166a28
View code at this point
Browse repository at this point
Commits on Jan 8, 2013
Issue #15845: Fix comparison between bytes and string.
Show description for 1a03ac8
serhiy-storchaka
committed
1a03ac8
View commit details
Copy full SHA for 1a03ac8
View code at this point
Browse repository at this point
Issue #15845: Fix comparison between bytes and string.
serhiy-storchaka
committed
f6fb3a3
View commit details
Copy full SHA for f6fb3a3
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.