Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
/
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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.7k
Star
77.3k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
imp.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 11, 2024
Docs: re-create pages for removed modules to document their removal. (#126622)
Show description for 036930d
nedbat
authored
036930d
View commit details
Copy full SHA for 036930d
View code at this point
Browse repository at this point
Commits on Apr 28, 2023
gh-98040: Remove just the `imp` module (#98573)
warsaw
authored
e1f1464
View commit details
Copy full SHA for e1f1464
View code at this point
Browse repository at this point
Commits on May 20, 2022
gh-92611: Clarify planned removal version in PEP 594-deprecated modules (GH-92793)
Show description for 31fa41e
CAM-Gerlach
authored
31fa41e
View commit details
Copy full SHA for 31fa41e
View code at this point
Browse repository at this point
Commits on Jun 13, 2020
bpo-37674: Tweak imp module deprecation note in the docs (GH-20480)
ZackerySpytz
authored
dea3223
View commit details
Copy full SHA for dea3223
View code at this point
Browse repository at this point
Commits on Sep 12, 2019
bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040)
Windsooon
authored and
JulienPalard
committed
967b84c
View commit details
Copy full SHA for 967b84c
View code at this point
Browse repository at this point
Commits on Dec 19, 2018
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
serhiy-storchaka
authored
2b57c43
View commit details
Copy full SHA for 2b57c43
View code at this point
Browse repository at this point
Commits on Oct 26, 2018
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
matrixise
authored and
vstinner
committed
e483f02
View commit details
Copy full SHA for e483f02
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Merge Issue #22558.
terryjreedy
committed
4da945f
View commit details
Copy full SHA for 4da945f
View code at this point
Browse repository at this point
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on Jan 8, 2016
Issue #25802: Add an examples section to importlib.
Show description for a85e927
brettcannon
committed
a85e927
View commit details
Copy full SHA for a85e927
View code at this point
Browse repository at this point
Commits on May 2, 2015
Merge: #24081: Remove obsolete caveat from import docs.
bitdancer
committed
deed215
View commit details
Copy full SHA for deed215
View code at this point
Browse repository at this point
#24081: Remove obsolete caveat from import docs.
Show description for 6d877ef
bitdancer
committed
6d877ef
View commit details
Copy full SHA for 6d877ef
View code at this point
Browse repository at this point
Commits on Apr 13, 2015
Issue #23731: Implement PEP 488.
Show description for f299abd
brettcannon
committed
f299abd
View commit details
Copy full SHA for f299abd
View code at this point
Browse repository at this point
Commits on May 9, 2014
Issue #21157: Touch up imp docs to be more explicit about importlib
Show description for f26702b
brettcannon
committed
f26702b
View commit details
Copy full SHA for f26702b
View code at this point
Browse repository at this point
Commits on Mar 24, 2014
Fix a few scoping issues with versionadded/versionchanged directives.
birkenfeld
committed
df48b97
View commit details
Copy full SHA for df48b97
View code at this point
Browse repository at this point
Commits on Jan 17, 2014
Issues #20194,20195: Add missing :deprecated: markers to some module
Show description for 24f60b4
brettcannon
committed
24f60b4
View commit details
Copy full SHA for 24f60b4
View code at this point
Browse repository at this point
Commits on Nov 29, 2013
Issue #19795: Improved markup of True/False constants.
serhiy-storchaka
committed
0e90e99
View commit details
Copy full SHA for 0e90e99
View code at this point
Browse repository at this point
Issue #19795: Improved markup of True/False constants.
serhiy-storchaka
committed
fbc1c26
View commit details
Copy full SHA for fbc1c26
View code at this point
Browse repository at this point
Commits on Oct 25, 2013
Issue #19392: Document that imp.reload() now relies on __loader__
Show description for 6fd25c3
brettcannon
committed
6fd25c3
View commit details
Copy full SHA for 6fd25c3
View code at this point
Browse repository at this point
merge from 3.3
brettcannon
committed
50aa324
View commit details
Copy full SHA for 50aa324
View code at this point
Browse repository at this point
Commits on Jun 21, 2013
Merge from 3.3
akuchling
committed
f862dc5
View commit details
Copy full SHA for f862dc5
View code at this point
Browse repository at this point
Closes #18272: use 'builtins' for 3.3 instead of __builtin__
akuchling
committed
1d7d580
View commit details
Copy full SHA for 1d7d580
View code at this point
Browse repository at this point
Commits on Jun 19, 2013
Issue #17177: Clarify some deprecations
brettcannon
committed
89df7b4
View commit details
Copy full SHA for 89df7b4
View code at this point
Browse repository at this point
Commits on Jun 16, 2013
Issue #17177: The imp module is pending deprecation.
Show description for e4f41de
brettcannon
committed
e4f41de
View commit details
Copy full SHA for e4f41de
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 #17907: Document types.ModuleType's constructor and attributes,
Show description for 2d77204
brettcannon
committed
2d77204
View commit details
Copy full SHA for 2d77204
View code at this point
Browse repository at this point
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
Issue #18193: Add importlib.reload(), documenting (but not
Show description for 3fe35e6
brettcannon
committed
3fe35e6
View commit details
Copy full SHA for 3fe35e6
View code at this point
Browse repository at this point
Commits on Apr 18, 2013
#17135: Add note in imp to use importlib for new programs.
bitdancer
committed
bca1a26
View commit details
Copy full SHA for bca1a26
View code at this point
Browse repository at this point
Commits on Apr 17, 2013
#17135: mark imp as deprecated as of 3.4.
bitdancer
committed
33a3c50
View commit details
Copy full SHA for 33a3c50
View code at this point
Browse repository at this point
Commits on Mar 13, 2013
Issue #17176: Document that imp.NullImporter is no longer
Show description for 115309a
brettcannon
committed
115309a
View commit details
Copy full SHA for 115309a
View code at this point
Browse repository at this point
Issue #17176: Document that imp.NullImporter is no longer inserted
Show description for 2514b48
brettcannon
committed
2514b48
View commit details
Copy full SHA for 2514b48
View code at this point
Browse repository at this point
Commits on Jul 13, 2012
Issue #15053: Make sure all functions related to the import lock have
Show description for d104eef
brettcannon
committed
d104eef
View commit details
Copy full SHA for d104eef
View code at this point
Browse repository at this point
Commits on Jul 9, 2012
Issue #15056: imp.cache_from_source() and source_from_cache() raise
Show description for 19a2f59
brettcannon
committed
19a2f59
View commit details
Copy full SHA for 19a2f59
View code at this point
Browse repository at this point
Commits on May 17, 2012
Move import lock-related functions to a separate doc section.
pitrou
committed
6c6d3a2
View commit details
Copy full SHA for 6c6d3a2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.