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
See 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.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
site.py
on
3.5
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 2, 2016
Issue #27171: Fix typos in documentation, comments, and test function names
vadmium
committed
e26da7c
View commit details
Copy full SHA for e26da7c
View code at this point
Browse repository at this point
Commits on Oct 1, 2015
Closes #25185: merged fix from 3.4.
vsajip
committed
2934fd6
View commit details
Copy full SHA for 2934fd6
View code at this point
Browse repository at this point
Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg.
vsajip
committed
f223c53
View commit details
Copy full SHA for f223c53
View code at this point
Browse repository at this point
Commits on Jul 17, 2015
Fixes sys.path for applocal environments.
zooba
committed
2d37cb2
View commit details
Copy full SHA for 2d37cb2
View code at this point
Browse repository at this point
Commits on May 3, 2015
Issue #23911: Move path-based bootstrap code to a separate frozen module.
ericsnowcurrently
committed
32439d6
View commit details
Copy full SHA for 32439d6
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
merge 3.4
benjaminp
committed
ad9f99e
View commit details
Copy full SHA for ad9f99e
View code at this point
Browse repository at this point
https goodness
benjaminp
committed
d40f136
View commit details
Copy full SHA for d40f136
View code at this point
Browse repository at this point
Commits on Jun 12, 2014
Issue #21711: support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
pitrou
committed
9e82b17
View commit details
Copy full SHA for 9e82b17
View code at this point
Browse repository at this point
Commits on May 31, 2014
Issue #21572: Change license command to fallback to generic license URL.
ned-deily
committed
5f8784b
View commit details
Copy full SHA for 5f8784b
View code at this point
Browse repository at this point
Commits on Mar 30, 2014
Issue #16047: Fix module exception list and __file__ handling in freeze.
Show description for c00d39e
loewis
committed
c00d39e
View commit details
Copy full SHA for c00d39e
View code at this point
Browse repository at this point
Commits on Jan 28, 2014
Issue #20411: Use readline.get_current_history_length to check for the presence of a history, rather than get_history_item, which assumes a history is present.
jaraco
committed
4d91490
View commit details
Copy full SHA for 4d91490
View code at this point
Browse repository at this point
Commits on Oct 25, 2013
Issue #19375: The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
pitrou
committed
3b2f0f0
View commit details
Copy full SHA for 3b2f0f0
View code at this point
Browse repository at this point
Commits on Oct 11, 2013
Issue #19205 fix 406529adf156
Show description for bfc3a9a
tiran
committed
bfc3a9a
View commit details
Copy full SHA for bfc3a9a
View code at this point
Browse repository at this point
Issue #19205: Don't import the 're' module in site and sysconfig module to
Show description for 8c9cd5a
tiran
committed
8c9cd5a
View commit details
Copy full SHA for 8c9cd5a
View code at this point
Browse repository at this point
Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io module instead of the full locale module.
pitrou
committed
fd4722c
View commit details
Copy full SHA for fd4722c
View code at this point
Browse repository at this point
Commits on Sep 29, 2013
Issue #5845: In site.py, only load readline history from ~/.python_history if no history has been read already. This avoids double writes to the history file at shutdown.
pitrou
committed
5d23e6d
View commit details
Copy full SHA for 5d23e6d
View code at this point
Browse repository at this point
Commits on Sep 14, 2013
#18206: Re-fix license URL.
bitdancer
committed
692ee9e
View commit details
Copy full SHA for 692ee9e
View code at this point
Browse repository at this point
Commits on Sep 6, 2013
#18852: Handle readline.__doc__ being None in site.py readline activation.
Show description for 4a04301
bitdancer
committed
4a04301
View commit details
Copy full SHA for 4a04301
View code at this point
Browse repository at this point
Commits on Aug 6, 2013
Issue #18621: Prevent the site module's patched builtins from keeping too many references alive for too long.
pitrou
committed
853395b
View commit details
Copy full SHA for 853395b
View code at this point
Browse repository at this point
Commits on Aug 1, 2013
Remove Lib/site.py hack to unregister patched builtins.
Show description for f93c7b8
pitrou
committed
f93c7b8
View commit details
Copy full SHA for f93c7b8
View code at this point
Browse repository at this point
Commits on Jul 31, 2013
Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.
pitrou
committed
dcedaf6
View commit details
Copy full SHA for dcedaf6
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 6, 2013
Issue #5845: avoid an exception at startup on OS X if no .editrc file exists.
mdickinson
committed
9d35133
View commit details
Copy full SHA for 9d35133
View code at this point
Browse repository at this point
Commits on May 4, 2013
Issue #5845: Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.
Show description for 1a6cb30
pitrou
committed
1a6cb30
View commit details
Copy full SHA for 1a6cb30
View code at this point
Browse repository at this point
Commits on Apr 14, 2013
Issue #16804: Fix 'python -S -m site' failure.
Show description for 2581bdb
meadori
committed
2581bdb
View commit details
Copy full SHA for 2581bdb
View code at this point
Browse repository at this point
Issue #16804: Fix 'python -S -m site' failure.
Show description for 9a7a811
meadori
committed
9a7a811
View commit details
Copy full SHA for 9a7a811
View code at this point
Browse repository at this point
Commits on Apr 12, 2013
#17585: merge with 3.3.
serwy
committed
663a390
View commit details
Copy full SHA for 663a390
View code at this point
Browse repository at this point
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
serwy
committed
1eafd10
View commit details
Copy full SHA for 1eafd10
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
modernize some modules' code by using with statement around open()
giampaolo
committed
2f50aaf
View commit details
Copy full SHA for 2f50aaf
View code at this point
Browse repository at this point
Commits on Jan 25, 2013
Issue #16972: Have site.addpackage() consider known paths even when
Show description for 13252b8
brettcannon
committed
13252b8
View commit details
Copy full SHA for 13252b8
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
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 Nov 23, 2012
Closes #16519: Merged fix from 3.3.
vsajip
committed
70adf6f
View commit details
Copy full SHA for 70adf6f
View code at this point
Browse repository at this point
Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name.
vsajip
committed
27e4b60
View commit details
Copy full SHA for 27e4b60
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.