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
Developer articles
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 }}
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
Python
pythonrun.c
on
v3.3.0
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 11, 2012
Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of th…
Show description for 04ac4c1
tiran
committed
04ac4c1
View commit details
Copy full SHA for 04ac4c1
View code at this point
Browse repository at this point
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
tiran
committed
eeb5635
View commit details
Copy full SHA for eeb5635
View code at this point
Browse repository at this point
Commits on Aug 3, 2012
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
Show description for 7b3f0fa
vstinner
committed
7b3f0fa
View commit details
Copy full SHA for 7b3f0fa
View code at this point
Browse repository at this point
Commits on Jul 31, 2012
Fix initialization of the faulthandler module
Show description for d5698cb
vstinner
committed
d5698cb
View commit details
Copy full SHA for d5698cb
View code at this point
Browse repository at this point
Commits on Jul 15, 2012
Refcounting fixes
ncoghlan
committed
b7a5894
View commit details
Copy full SHA for b7a5894
View code at this point
Browse repository at this point
Make set_main_loader static (noticed by Antoine Pitrou)
ncoghlan
committed
ceda83c
View commit details
Copy full SHA for ceda83c
View code at this point
Browse repository at this point
Actually initialize __main__.__loader__ with loader instances, not the corresponding type objects
ncoghlan
committed
3f94cbf
View commit details
Copy full SHA for 3f94cbf
View code at this point
Browse repository at this point
Take the first step in resolving the messy pkgutil vs importlib edge cases by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ corre…
Show description for 85e729e
ncoghlan
committed
85e729e
View commit details
Copy full SHA for 85e729e
View code at this point
Browse repository at this point
Commits on Jul 5, 2012
Issue #15020: The program name used to search for Python's path is now python3 under Unix, not python.
pitrou
committed
74de153
View commit details
Copy full SHA for 74de153
View code at this point
Browse repository at this point
Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
pitrou
committed
01cca5e
View commit details
Copy full SHA for 01cca5e
View code at this point
Browse repository at this point
Commits on Jun 22, 2012
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
davidmalcolm
committed
49526f4
View commit details
Copy full SHA for 49526f4
View code at this point
Browse repository at this point
Commits on Jun 19, 2012
Issue #14928: Fix importlib bootstrap issues by using a custom executable (Modules/_freeze_importlib) to build Python/importlib.h.
pitrou
committed
e67f48c
View commit details
Copy full SHA for e67f48c
View code at this point
Browse repository at this point
Commits on May 15, 2012
PEP 415: Implement suppression of __context__ display with an exception attribute
Show description for d5a1c44
benjaminp
committed
d5a1c44
View commit details
Copy full SHA for d5a1c44
View code at this point
Browse repository at this point
Commits on Apr 29, 2012
Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.
Show description for 62228db
brettcannon
committed
62228db
View commit details
Copy full SHA for 62228db
View code at this point
Browse repository at this point
Commits on Apr 26, 2012
Issue #14605: Make explicit the entries on sys.path_hooks that used to
Show description for e0d88a1
brettcannon
committed
e0d88a1
View commit details
Copy full SHA for e0d88a1
View code at this point
Browse repository at this point
Commits on Apr 15, 2012
Issue #13959: Rename imp to _imp and add Lib/imp.py and begin
Show description for 6f44d66
brettcannon
committed
6f44d66
View commit details
Copy full SHA for 6f44d66
View code at this point
Browse repository at this point
Plug a refleak.
brettcannon
committed
fc9ca27
View commit details
Copy full SHA for fc9ca27
View code at this point
Browse repository at this point
Commits on Apr 14, 2012
Issue #2377: Make importlib the implementation of __import__().
Show description for fd07415
brettcannon
committed
fd07415
View commit details
Copy full SHA for fd07415
View code at this point
Browse repository at this point
Commits on Apr 3, 2012
merge 3.2
benjaminp
committed
0a9a636
View commit details
Copy full SHA for 0a9a636
View code at this point
Browse repository at this point
fix parse_syntax_error to clean up its resources
benjaminp
committed
80d5042
View commit details
Copy full SHA for 80d5042
View code at this point
Browse repository at this point
Commits on Feb 26, 2012
Close issue #6210: Implement PEP 409
ncoghlan
committed
ab7bf21
View commit details
Copy full SHA for ab7bf21
View code at this point
Browse repository at this point
Commits on Feb 21, 2012
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
pitrou
committed
528b54b
View commit details
Copy full SHA for 528b54b
View code at this point
Browse repository at this point
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
pitrou
committed
86838b0
View commit details
Copy full SHA for 86838b0
View code at this point
Browse repository at this point
Commits on Feb 20, 2012
Merge 3.2: Issue #13703 plus some related test suite fixes.
birkenfeld
committed
2fb477c
View commit details
Copy full SHA for 2fb477c
View code at this point
Browse repository at this point
Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Show description for 09a7c72
birkenfeld
committed
09a7c72
View commit details
Copy full SHA for 09a7c72
View code at this point
Browse repository at this point
Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Show description for 2daf6ae
birkenfeld
committed
2daf6ae
View commit details
Copy full SHA for 2daf6ae
View code at this point
Browse repository at this point
Commits on Jan 19, 2012
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
meadori
committed
fa21bf0
View commit details
Copy full SHA for fa21bf0
View code at this point
Browse repository at this point
Commits on Jan 18, 2012
Fix a memory leak when initializing the standard I/O streams.
pitrou
committed
fff47ab
View commit details
Copy full SHA for fff47ab
View code at this point
Browse repository at this point
Fix a memory leak when initializing the standard I/O streams.
pitrou
committed
2fabfac
View commit details
Copy full SHA for 2fabfac
View code at this point
Browse repository at this point
Commits on Jan 13, 2012
Issue #13645: pyc files now contain the size of the corresponding source
Show description for 5136ac0
pitrou
committed
5136ac0
View commit details
Copy full SHA for 5136ac0
View code at this point
Browse repository at this point
Commits on Dec 12, 2011
Issue #13575: there is only one class type.
florentx
committed
aa6c1d2
View commit details
Copy full SHA for aa6c1d2
View code at this point
Browse repository at this point
Commits on Nov 28, 2011
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
Show description for 39a73a4
pitrou
committed
39a73a4
View commit details
Copy full SHA for 39a73a4
View code at this point
Browse repository at this point
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
Show description for 11942a5
pitrou
committed
11942a5
View commit details
Copy full SHA for 11942a5
View code at this point
Browse repository at this point
Commits on Nov 26, 2011
Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
Show description for 5604ef3
pitrou
committed
5604ef3
View commit details
Copy full SHA for 5604ef3
View code at this point
Browse repository at this point
Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
Show description for d7c8fbf
pitrou
committed
d7c8fbf
View commit details
Copy full SHA for d7c8fbf
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.