Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
code.py
on
2.7
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 12, 2009
this main is much more useful
benjaminp
committed
ccd6405
View commit details
Copy full SHA for ccd6405
View code at this point
Browse repository at this point
Commits on Aug 7, 2008
#1288615: Python code.interact() and non-ASCII input
pitrou
committed
74022ab
View commit details
Copy full SHA for 74022ab
View code at this point
Browse repository at this point
Commits on Feb 13, 2003
- Finally fixed the bug in compile() and exec where a string ending
Show description for 4b499dd
gvanrossum
committed
4b499dd
View commit details
Copy full SHA for 4b499dd
View code at this point
Browse repository at this point
Commits on Apr 4, 2002
Convert a pile of obvious "yes/no" functions to return bool.
tim-one
committed
bc0e910
View commit details
Copy full SHA for bc0e910
View code at this point
Browse repository at this point
Commits on Mar 25, 2002
make default banner match what the real interpreter displays
Skip Montanaro
committed
acb29ae
View commit details
Copy full SHA for acb29ae
View code at this point
Browse repository at this point
remove unqualified excepts - catch ImportError when trying to import
Show description for 0679a73
Skip Montanaro
committed
0679a73
View commit details
Copy full SHA for 0679a73
View code at this point
Browse repository at this point
Commits on Sep 18, 2001
softspace(): be prepared to catch AttributeError as well as TypeError
Show description for 555d12f
gvanrossum
committed
555d12f
View commit details
Copy full SHA for 555d12f
View code at this point
Browse repository at this point
Commits on Aug 17, 2001
A fiddled version of the rest of Michael Hudson's SF patch
Show description for 6cd6a82
tim-one
committed
6cd6a82
View commit details
Copy full SHA for 6cd6a82
View code at this point
Browse repository at this point
Commits on May 3, 2001
InteractiveInterpreter.showsyntaxerror():
Show description for c7745d4
freddrake
committed
c7745d4
View commit details
Copy full SHA for c7745d4
View code at this point
Browse repository at this point
Commits on Feb 9, 2001
String method conversion.
eric-s-raymond
committed
6b71e74
View commit details
Copy full SHA for 6b71e74
View code at this point
Browse repository at this point
Commits on Jan 20, 2001
added __all__ lists to a number of Python modules
Show description for e99d5ea
Skip Montanaro
committed
e99d5ea
View commit details
Copy full SHA for e99d5ea
View code at this point
Browse repository at this point
Commits on Jan 15, 2001
mwh@sourceforge found that UnicodeError can be raised by compiling.
Show description for 48450cf
gvanrossum
committed
48450cf
View commit details
Copy full SHA for 48450cf
View code at this point
Browse repository at this point
Commits on Jan 14, 2001
Make the copyright message the same as for the "real" interpreter.
gvanrossum
committed
c5f15b0
View commit details
Copy full SHA for c5f15b0
View code at this point
Browse repository at this point
Commits on Jan 13, 2001
SF Patch #103227 by mwh: make code.py appreciate softspace
gvanrossum
committed
4ec59c7
View commit details
Copy full SHA for 4ec59c7
View code at this point
Browse repository at this point
Commits on Dec 27, 2000
Make Traceback header conform to new traceback ("innermost last" ->
Show description for 7dd0696
gvanrossum
committed
7dd0696
View commit details
Copy full SHA for 7dd0696
View code at this point
Browse repository at this point
Commits on Feb 28, 2000
Simple changes by Gerrit Holl - move author acknowledgements out of
Show description for 98d9fd3
gvanrossum
committed
98d9fd3
View commit details
Copy full SHA for 98d9fd3
View code at this point
Browse repository at this point
Commits on Oct 22, 1998
Moved compile_command() to a file of its own (codeop.py).
gvanrossum
committed
5d42b5b
View commit details
Copy full SHA for 5d42b5b
View code at this point
Browse repository at this point
Commits on Oct 19, 1998
Rename 'locals' argument to top-level interact() function to 'local'
Show description for d90ae19
gvanrossum
committed
d90ae19
View commit details
Copy full SHA for d90ae19
View code at this point
Browse repository at this point
Commits on Sep 22, 1998
Reworked it quite a bit. There are now two classes: a base class,
Show description for 5227f0f
gvanrossum
committed
5227f0f
View commit details
Copy full SHA for 5227f0f
View code at this point
Browse repository at this point
Commits on Jun 23, 1998
Subsume the interact() function in a class. This should make it
Show description for a93b848
gvanrossum
committed
a93b848
View commit details
Copy full SHA for a93b848
View code at this point
Browse repository at this point
Commits on Mar 26, 1998
Mass check-in after untabifying all files that need it.
gvanrossum
committed
45e2fbc
View commit details
Copy full SHA for 45e2fbc
View code at this point
Browse repository at this point
Commits on Jan 14, 1998
Seems I've found a way to fix this.
gvanrossum
committed
8687164
View commit details
Copy full SHA for 8687164
View code at this point
Browse repository at this point
Commits on Oct 7, 1997
Add Jeff Epler's interact() function. Note that it is broken.
Show description for 90981e0
gvanrossum
committed
90981e0
View commit details
Copy full SHA for 90981e0
View code at this point
Browse repository at this point
Commits on Jul 18, 1997
Checking in new module code.py -- utilities dealing with code objects.
Show description for 1557a73
gvanrossum
committed
1557a73
View commit details
Copy full SHA for 1557a73
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.