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.4k
(2.4k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
venv
scripts
common
activate
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 22, 2026
gh-111501: venv: do not export PS1 in activate (#105279)
Show description for 5049eb1
rpigott
authored
5049eb1
View commit details
Copy full SHA for 5049eb1
View code at this point
Browse repository at this point
Commits on May 13, 2026
gh-149701: Fully silence potential `hash -r` error (GH-149702)
genericallyterrible
authored
cd60968
View commit details
Copy full SHA for cd60968
View code at this point
Browse repository at this point
Commits on Oct 21, 2024
gh-124651: Quote template strings in `venv` activation scripts (GH-124712)
Show description for d48cc82
y5c4l3
authored
d48cc82
View commit details
Copy full SHA for d48cc82
View code at this point
Browse repository at this point
Commits on Oct 19, 2024
gh-125398: Convert paths in venv activate script when using Git Bash under Windows (GH-125399)
Show description for 2a378db
julienp
authored
2a378db
View commit details
Copy full SHA for 2a378db
View code at this point
Browse repository at this point
Commits on Oct 13, 2024
Trivial change: Update comments in activate about what running hash -r does (GH-125385)
Show description for 82bcaf1
aathan
authored
82bcaf1
View commit details
Copy full SHA for 82bcaf1
View code at this point
Browse repository at this point
Commits on Jan 23, 2024
gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT (GH-106726)
Show description for 8edc802
jimporter
authored
8edc802
View commit details
Copy full SHA for 8edc802
View code at this point
Browse repository at this point
Commits on Dec 11, 2023
gh-112507: Detect Cygwin and MSYS with `uname` instead of `$OSTYPE` (GH-112508)
Show description for d7b5f10
J-M0
authored
d7b5f10
View commit details
Copy full SHA for d7b5f10
View code at this point
Browse repository at this point
Commits on Nov 28, 2023
gh-112431: Unconditionally call `hash -r` (GH-112432)
Show description for a194938
J-M0
authored
a194938
View commit details
Copy full SHA for a194938
View code at this point
Browse repository at this point
Commits on Nov 21, 2023
gh-112252: Fix error on unset $OSNAME in venv/activate (GH-112253)
jamesturk
authored
e1540ae
View commit details
Copy full SHA for e1540ae
View code at this point
Browse repository at this point
Commits on Jul 13, 2023
gh-89427: Set VIRTUAL_ENV_PROMPT even when VIRTUAL_ENV_DISABLE_PROMPT… (GH-106643)
jimporter
authored
af51bd7
View commit details
Copy full SHA for af51bd7
View code at this point
Browse repository at this point
Commits on Apr 17, 2023
gh-103088: Ensure POSIX venv scripts always use LF line endings (GH-103591)
Show description for eb5fd31
zooba
authored
eb5fd31
View commit details
Copy full SHA for eb5fd31
View code at this point
Browse repository at this point
Commits on Apr 11, 2023
gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325)
Zabolekar
authored
ebc8103
View commit details
Copy full SHA for ebc8103
View code at this point
Browse repository at this point
Commits on Jul 28, 2020
bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)
Show description for c82dda1
ZackerySpytz
and
blfpd
authored
c82dda1
View commit details
Copy full SHA for c82dda1
View code at this point
Browse repository at this point
Commits on Jan 14, 2020
venv: Suppress warning message when bash hashing is disabled. (GH-17966)
Show description for 4b0d91a
d-goldin
authored and
vsajip
committed
4b0d91a
View commit details
Copy full SHA for 4b0d91a
View code at this point
Browse repository at this point
Commits on Sep 11, 2019
bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330)
Show description for 5209e58
danabr
authored and
Yhg1s
committed
5209e58
View commit details
Copy full SHA for 5209e58
View code at this point
Browse repository at this point
Commits on Aug 21, 2019
bpo-37663: have venv activation scripts all consistently use __VENV_PROMPT__ for prompt customization (GH-14941)
Show description for 48ede6b
brettcannon
authored
48ede6b
View commit details
Copy full SHA for 48ede6b
View code at this point
Browse repository at this point
Commits on Sep 29, 2017
bpo-25351: avoid activate failure on strict shells (GH-3804)
ssbarnea
authored and
vsajip
committed
90f1d98
View commit details
Copy full SHA for 90f1d98
View code at this point
Browse repository at this point
Commits on Jan 12, 2017
Issue #22343: Made bash activate script available on Windows.
vsajip
committed
98a7441
View commit details
Copy full SHA for 98a7441
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.