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
venv
scripts
posix
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 22, 2026
gh-154399: Fix venv activate.csh in a non-interactive shell (GH-154400)
Show description for 4448705
serhiy-storchaka
and
claude
authored
4448705
View commit details
Copy full SHA for 4448705
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 Sep 17, 2024
gh-122765: make prompt in activate.csh robust against unbalanced quotes and newlines (GH-123751)
JacekDuszenko
authored
a15a584
View commit details
Copy full SHA for a15a584
View code at this point
Browse repository at this point
Commits on Mar 24, 2024
gh-112571: Move fish venv activation script into the common folder (GH-117169)
Show description for 83485a0
Booplicate
authored
83485a0
View commit details
Copy full SHA for 83485a0
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 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 Jun 27, 2022
gh-93858: Prevent error when activating venv in nested fish instances (GH-93931)
thomasbbrunner
authored
1172172
View commit details
Copy full SHA for 1172172
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 May 20, 2020
Fix the URL to fishshell.com (GH-20251)
jcgoble3
authored
da7d1f0
View commit details
Copy full SHA for da7d1f0
View code at this point
Browse repository at this point
Commits on Nov 29, 2019
Fix old mention of virtualenv (GH-17417)
Show description for 1df65f7
brettcannon
authored and
miss-islington
committed
1df65f7
View commit details
Copy full SHA for 1df65f7
View code at this point
Browse repository at this point
Commits on Nov 23, 2019
bpo-38899: virtual environment activation for fish should use `source` (GH-17359)
Show description for 84b1ff6
brettcannon
authored and
miss-islington
committed
84b1ff6
View commit details
Copy full SHA for 84b1ff6
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 14, 2017
bpo-31462: Remove trailing whitespaces. (#3564)
serhiy-storchaka
authored
13ad3b7
View commit details
Copy full SHA for 13ad3b7
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
Commits on Sep 11, 2016
Fixes #25671: Updated prompt handling in activate.fish.
vsajip
committed
8d82559
View commit details
Copy full SHA for 8d82559
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
vadmium
committed
0be894b
View commit details
Copy full SHA for 0be894b
View code at this point
Browse repository at this point
Commits on Jun 30, 2016
Issue #26665: Remove mis-use of ``$`` in activate.fish.
Show description for 660c8fc
brettcannon
committed
660c8fc
View commit details
Copy full SHA for 660c8fc
View code at this point
Browse repository at this point
Commits on Feb 13, 2016
Fixes #26348: Corrected typos in activate.fish script.
vsajip
committed
b2a2aa7
View commit details
Copy full SHA for b2a2aa7
View code at this point
Browse repository at this point
Commits on Oct 2, 2013
Closes #19139: Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
vsajip
committed
dff9e25
View commit details
Copy full SHA for dff9e25
View code at this point
Browse repository at this point
Commits on Jun 30, 2013
Closes #18224: Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
vsajip
committed
893c7e7
View commit details
Copy full SHA for 893c7e7
View code at this point
Browse repository at this point
Issue #18224: Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
vsajip
committed
61d003a
View commit details
Copy full SHA for 61d003a
View code at this point
Browse repository at this point
Commits on Oct 4, 2012
Issue #15417: Add support for csh and fish in venv activation scripts.
asvetlov
committed
65e9c57
View commit details
Copy full SHA for 65e9c57
View code at this point
Browse repository at this point
Commits on Jun 24, 2012
Closes #15157: pydoc script added to venvs.
vsajip
committed
6aed5fe
View commit details
Copy full SHA for 6aed5fe
View code at this point
Browse repository at this point
Remove packaging from the standard library.
Show description for 859aad6
merwok
committed
859aad6
View commit details
Copy full SHA for 859aad6
View code at this point
Browse repository at this point
Commits on May 26, 2012
Implemented PEP 405 (Python virtual environments).
vsajip
committed
7ded1f0
View commit details
Copy full SHA for 7ded1f0
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.