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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Python
import.c
on
2.7
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 26, 2018
[2.7] bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564). (GH-6605)
Show description for 55299ff
serhiy-storchaka
authored
55299ff
View commit details
Copy full SHA for 55299ff
View code at this point
Browse repository at this point
Commits on Oct 16, 2016
Issue #21720: Improve exception message when the type of fromlist is unicode
berkerpeksag
committed
05b8443
View commit details
Copy full SHA for 05b8443
View code at this point
Browse repository at this point
Commits on Sep 8, 2016
Issue #15578: Correctly incref the parent module while importing.
ericsnowcurrently
committed
bf00bc7
View commit details
Copy full SHA for bf00bc7
View code at this point
Browse repository at this point
Commits on Feb 10, 2016
Issue #25698: Importing module if the stack is too deep no longer replaces
Show description for 1c49617
serhiy-storchaka
committed
1c49617
View commit details
Copy full SHA for 1c49617
View code at this point
Browse repository at this point
Commits on Apr 19, 2015
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
tiran
committed
3ce7873
View commit details
Copy full SHA for 3ce7873
View code at this point
Browse repository at this point
Commits on Dec 24, 2012
Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
mdickinson
committed
9fade76
View commit details
Copy full SHA for 9fade76
View code at this point
Browse repository at this point
Commits on Oct 19, 2012
Issue #6074: Restore the long-broken support for running with read-only source files on Windows
ncoghlan
committed
b48c028
View commit details
Copy full SHA for b48c028
View code at this point
Browse repository at this point
Commits on Aug 15, 2012
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Show description for c5bef75
pitrou
committed
c5bef75
View commit details
Copy full SHA for c5bef75
View code at this point
Browse repository at this point
Commits on Aug 14, 2012
- Issue #15647: Make isdir static for windows and posix
doko42
committed
92636bf
View commit details
Copy full SHA for 92636bf
View code at this point
Browse repository at this point
Commits on May 9, 2012
Issue #14761: Fix potential leak on an error case in the import machinery.
pitrou
committed
284fa08
View commit details
Copy full SHA for 284fa08
View code at this point
Browse repository at this point
Commits on Apr 18, 2012
Fix compiler warning related to issue #14331. harmless.
gpshead
committed
a72aa84
View commit details
Copy full SHA for a72aa84
View code at this point
Browse repository at this point
Commits on Mar 18, 2012
Fixes Issue #14331: Use significantly less stack space when importing modules by
Show description for fcdf04b
gpshead
committed
fcdf04b
View commit details
Copy full SHA for fcdf04b
View code at this point
Browse repository at this point
Commits on Mar 8, 2012
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
jaraco
committed
0e17dfb
View commit details
Copy full SHA for 0e17dfb
View code at this point
Browse repository at this point
Commits on Jan 25, 2012
Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more.
pitrou
committed
6f25d75
View commit details
Copy full SHA for 6f25d75
View code at this point
Browse repository at this point
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
pitrou
committed
b744cef
View commit details
Copy full SHA for b744cef
View code at this point
Browse repository at this point
Temporary debug for Windows buildbots.
pitrou
committed
11cc480
View commit details
Copy full SHA for 11cc480
View code at this point
Browse repository at this point
Make guard more dynamic (apparently the size of a filesystem timestamp may vary under Windows).
pitrou
committed
0e5fd59
View commit details
Copy full SHA for 0e5fd59
View code at this point
Browse repository at this point
Commits on Jan 24, 2012
Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
pitrou
committed
d1c818a
View commit details
Copy full SHA for d1c818a
View code at this point
Browse repository at this point
Commits on Jan 13, 2012
Fix indentation
jaraco
committed
0737b72
View commit details
Copy full SHA for 0737b72
View code at this point
Browse repository at this point
Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727.
jaraco
committed
fa93cf8
View commit details
Copy full SHA for fa93cf8
View code at this point
Browse repository at this point
Moved directory detection into an isdir function
jaraco
committed
925ff74
View commit details
Copy full SHA for 925ff74
View code at this point
Browse repository at this point
Commits on Sep 23, 2011
Issue #7732: Fix a crash on importing a module if a directory has the same name
Show description for 63c22fa
Victor Stinner
committed
63c22fa
View commit details
Copy full SHA for 63c22fa
View code at this point
Browse repository at this point
Commits on Sep 15, 2011
Fix the import machinery if there is an error on sys.path or sys.meta_path
Show description for ed36c06
Victor Stinner
committed
ed36c06
View commit details
Copy full SHA for ed36c06
View code at this point
Browse repository at this point
Commits on Sep 1, 2011
Remove unused variable if Python is build without threads
Victor Stinner
committed
871a0fb
View commit details
Copy full SHA for 871a0fb
View code at this point
Browse repository at this point
Commits on May 20, 2010
Turned out that if you used explicit relative import syntax
Show description for eb3cd30
brettcannon
committed
eb3cd30
View commit details
Copy full SHA for eb3cd30
View code at this point
Browse repository at this point
Commits on May 9, 2010
Untabify C files. Will watch buildbots.
pitrou
committed
c83ea13
View commit details
Copy full SHA for c83ea13
View code at this point
Browse repository at this point
Commits on May 5, 2010
Fix whitespace.
brettcannon
committed
b166afc
View commit details
Copy full SHA for b166afc
View code at this point
Browse repository at this point
Partially revert the over-reaching r80813.
brettcannon
committed
417439e
View commit details
Copy full SHA for 417439e
View code at this point
Browse repository at this point
Remove three unneeded variable assignments.
Show description for 0b03f10
brettcannon
committed
0b03f10
View commit details
Copy full SHA for 0b03f10
View code at this point
Browse repository at this point
Commits on Mar 25, 2010
make naming convention consistent
benjaminp
committed
0663873
View commit details
Copy full SHA for 0663873
View code at this point
Browse repository at this point
Commits on Mar 10, 2010
Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
Show description for 6664426
Victor Stinner
committed
6664426
View commit details
Copy full SHA for 6664426
View code at this point
Browse repository at this point
Commits on Mar 1, 2010
Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
Show description for 9e5d132
gpshead
committed
9e5d132
View commit details
Copy full SHA for 9e5d132
View code at this point
Browse repository at this point
Commits on Jan 11, 2010
Issue #2333: Backport set and dict comprehensions syntax.
avassalotti
committed
b646547
View commit details
Copy full SHA for b646547
View code at this point
Browse repository at this point
Commits on Jan 9, 2010
Issue #2335: Backport set literals syntax from Python 3.x.
avassalotti
committed
ee936a2
View commit details
Copy full SHA for ee936a2
View code at this point
Browse repository at this point
Commits on Sep 16, 2009
Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
Show description for c4dcb38
Yhg1s
committed
c4dcb38
View commit details
Copy full SHA for c4dcb38
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.