[Python-checkins] r52122 - python/branches/pep302_phase2/BRANCH_PLANS
brett.cannon
python-checkins at python.org
Wed Oct 4 00:05:26 CEST 2006
Author: brett.cannon
Date: Wed Oct 4 00:05:25 2006
New Revision: 52122
Modified:
python/branches/pep302_phase2/BRANCH_PLANS
Log:
Initial notes on making built-in module meta path class.
Modified: python/branches/pep302_phase2/BRANCH_PLANS
==============================================================================
--- python/branches/pep302_phase2/BRANCH_PLANS (original)
+++ python/branches/pep302_phase2/BRANCH_PLANS Wed Oct 4 00:05:25 2006
@@ -94,5 +94,27 @@
None entries?
+Built-in Meta Path Importer
+---------------------------
+
+Key data structures and functions:
+
+* Modules/config.c
+ + _PyImport_Inttab[]
+ Array of built-in modules.
+
+* Python/import.c
+ + is_builtin()
+ Function that tells you if a module is a built-in.
+ + init_builtin()
+ Initialize a specified built-in.
+
+
+There will be a new class, BuiltinImporter, that will be the importer/loader
+for built-in modules. Can either have the class return instances or bind a
+single instance to the imp module. Can also have methods be staticmethods or
+regular instance methods.
+
+
What's New in this Branch?
==========================
More information about the Python-checkins
mailing list