[Python-checkins] python/nondist/peps pep-0273.txt,1.9,1.10
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Fri Aug 27 20:11:26 CEST 2004
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31514
Modified Files:
pep-0273.txt
Log Message:
Add historical note
Index: pep-0273.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0273.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pep-0273.txt 21 Dec 2002 11:38:47 -0000 1.9
+++ pep-0273.txt 27 Aug 2004 18:11:22 -0000 1.10
@@ -11,12 +11,22 @@
Abstract
+
This PEP adds the ability to import Python modules
*.py, *.py[co] and packages from zip archives. The
same code is used to speed up normal directory imports
provided os.listdir is available.
+Note
+
+ Zip imports were added to Python 2.3, but the final implementation
+ uses an approach different from the one described in this PEP.
+ The 2.3 implementation is SourceForge patch #652586, which adds
+ new import hooks described in PEP 302.
+
+ The rest of this PEP is therefore only of historical interest.
+
Specification
Currently, sys.path is a list of directory names as strings. If
More information about the Python-checkins
mailing list