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
Lib
importlib
util.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 7, 2018
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
ZackerySpytz
authored and
ned-deily
committed
fffeb6f
View commit details
Copy full SHA for fffeb6f
View code at this point
Browse repository at this point
Commits on Dec 9, 2017
closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)
Show description for 42aa93b
benjaminp
authored
42aa93b
View commit details
Copy full SHA for 42aa93b
View code at this point
Browse repository at this point
Commits on Jun 14, 2017
bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
Show description for 8c3f05e
zvyn
authored and
brettcannon
committed
8c3f05e
View commit details
Copy full SHA for 8c3f05e
View code at this point
Browse repository at this point
Commits on Jun 25, 2016
Issue #26186: Remove the restriction that built-in and extension
Show description for 696c35e
brettcannon
committed
696c35e
View commit details
Copy full SHA for 696c35e
View code at this point
Browse repository at this point
Merge from 3.5
brettcannon
committed
da03761
View commit details
Copy full SHA for da03761
View code at this point
Browse repository at this point
Fix a scoping issue where an UnboundLocalError was triggered if a
Show description for e92dc9c
brettcannon
committed
e92dc9c
View commit details
Copy full SHA for e92dc9c
View code at this point
Browse repository at this point
Commits on Feb 21, 2016
Merge for issue #26186
brettcannon
committed
e5f4d3c
View commit details
Copy full SHA for e5f4d3c
View code at this point
Browse repository at this point
Issue #26186: Remove an invalid type check in
Show description for 558823a
brettcannon
committed
558823a
View commit details
Copy full SHA for 558823a
View code at this point
Browse repository at this point
Commits on Dec 4, 2015
Issue #25771: Tweak ValueError message when package isn't specified
Show description for 65ca88e
brettcannon
committed
65ca88e
View commit details
Copy full SHA for 65ca88e
View code at this point
Browse repository at this point
Commits on May 3, 2015
Issue #23911: Move path-based bootstrap code to a separate frozen module.
ericsnowcurrently
committed
32439d6
View commit details
Copy full SHA for 32439d6
View code at this point
Browse repository at this point
Commits on Nov 21, 2014
Issue #19720: Suppressed context for some exceptions in importlib.
serhiy-storchaka
committed
c446405
View commit details
Copy full SHA for c446405
View code at this point
Browse repository at this point
Commits on May 30, 2014
Issue #20383: Introduce importlib.util.module_from_spec().
Show description for 2a17bde
brettcannon
committed
2a17bde
View commit details
Copy full SHA for 2a17bde
View code at this point
Browse repository at this point
Commits on Apr 4, 2014
Issue #17621: Introduce importlib.util.LazyLoader.
brettcannon
committed
a04dbe4
View commit details
Copy full SHA for a04dbe4
View code at this point
Browse repository at this point
Commits on Jan 25, 2014
Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
Show description for 6029e08
ericsnowcurrently
committed
6029e08
View commit details
Copy full SHA for 6029e08
View code at this point
Browse repository at this point
Commits on Jan 7, 2014
Issue 19713: Add PEP 451-related deprecations.
ericsnowcurrently
committed
1500d49
View commit details
Copy full SHA for 1500d49
View code at this point
Browse repository at this point
Commits on Nov 22, 2013
Implement PEP 451 (ModuleSpec).
ericsnowcurrently
committed
b523f84
View commit details
Copy full SHA for b523f84
View code at this point
Browse repository at this point
Commits on Jun 16, 2013
Issue #18076: Introduce imoportlib.util.decode_source().
Show description for f24fecd
brettcannon
committed
f24fecd
View commit details
Copy full SHA for f24fecd
View code at this point
Browse repository at this point
Commits on Jun 15, 2013
Issue #17907: touch up the code for imp.new_module().
brettcannon
committed
a3c9615
View commit details
Copy full SHA for a3c9615
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the
Show description for 05a647d
brettcannon
committed
05a647d
View commit details
Copy full SHA for 05a647d
View code at this point
Browse repository at this point
Commits on May 31, 2013
fix whitespace
brettcannon
committed
0e75c06
View commit details
Copy full SHA for 0e75c06
View code at this point
Browse repository at this point
Issues #18088, 18089: Introduce
Show description for 0dbb4c7
brettcannon
committed
0dbb4c7
View commit details
Copy full SHA for 0dbb4c7
View code at this point
Browse repository at this point
Commits on May 30, 2013
Rename importlib.util.ModuleManager to module_to_load so that the name
Show description for 357c9fb
brettcannon
committed
357c9fb
View commit details
Copy full SHA for 357c9fb
View code at this point
Browse repository at this point
Commits on May 28, 2013
Introduce importlib.util.ModuleManager which is a context manager to
Show description for a3687f0
brettcannon
committed
a3687f0
View commit details
Copy full SHA for a3687f0
View code at this point
Browse repository at this point
Commits on May 13, 2012
Add importlib.util.resolve_name().
brettcannon
committed
d200bf5
View commit details
Copy full SHA for d200bf5
View code at this point
Browse repository at this point
Commits on Apr 17, 2010
PEP 3147
warsaw
committed
28a691b
View commit details
Copy full SHA for 28a691b
View code at this point
Browse repository at this point
Commits on Mar 10, 2009
Implement importlib.util.set_loader: a decorator to automatically set
Show description for 2cf03a8
brettcannon
committed
2cf03a8
View commit details
Copy full SHA for 2cf03a8
View code at this point
Browse repository at this point
Commits on Mar 4, 2009
Rename importlib.util.set___package__ to set_package.
brettcannon
committed
435aad8
View commit details
Copy full SHA for 435aad8
View code at this point
Browse repository at this point
Commits on Mar 2, 2009
Expose importlib.util.set___package__.
brettcannon
committed
57b46f5
View commit details
Copy full SHA for 57b46f5
View code at this point
Browse repository at this point
Commits on Feb 17, 2009
Implement the more specific PEP 302 semantics for loaders and what happens upon
Show description for d2e7b33
brettcannon
committed
d2e7b33
View commit details
Copy full SHA for d2e7b33
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.