Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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
Public
Notifications
You must be signed in to change notification settings
Fork
31.8k
Star
66.7k
Code
Issues
5k+
Pull requests
1.8k
Actions
Projects
28
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Breadcrumbs
History for
cpython
Tools
scripts
fixheader.py
on
2.7
User selector
All users
Datepicker
All time
Commit History
Commits on Aug 9, 2004
[Patch #1005491 ] use __name__ == '__main__' in scripts
akuchling
committed
e236b38
Copy full SHA for e236b38
Commits on May 13, 2003
Fix use of 'file' as a variable name.
Show description for ac6df95
akuchling
committed
ac6df95
Copy full SHA for ac6df95
Commits on Sep 11, 2002
Apply diff2.txt from SF patch http://www.python.org/sf/572113
Show description for aaab30e
doerwalter
committed
aaab30e
Copy full SHA for aaab30e
Commits on Jul 20, 2001
Use string.ascii_letters instead of string.letters (SF bug #226706).
freddrake
committed
79e75e1
Copy full SHA for 79e75e1
Commits on Jan 17, 2001
Whitespace normalization.
tim-one
committed
70c4378
Copy full SHA for 70c4378
Commits on Nov 27, 1996
/usr/local/bin/python -> /usr/bin/env python
gvanrossum
committed
f06ee5f
Copy full SHA for f06ee5f
Commits on Jan 7, 1994
Initial revision
gvanrossum
committed
0b7dfbb
Copy full SHA for 0b7dfbb
Loading
You can’t perform that action at this time.