[Python-checkins] python/dist/src/Misc NEWS,1.577,1.578
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 30 Dec 2002 14:59:34 -0800
- Previous message: [Python-checkins] python/dist/src/Modules zipimport.c,1.2,1.3
- Next message: [Python-checkins] python/dist/src/Doc/lib libdummythread.tex,1.1,1.2 libdummythreading.tex,1.1,1.2 libthread.tex,1.27,1.28 libthreading.tex,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv25738
Modified Files:
NEWS
Log Message:
News about zipimport.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.577
retrieving revision 1.578
diff -C2 -d -r1.577 -r1.578
*** NEWS 30 Dec 2002 22:42:43 -0000 1.577
--- NEWS 30 Dec 2002 22:59:32 -0000 1.578
***************
*** 79,82 ****
--- 79,95 ----
-----------------
+ - Import from zipfiles is now supported. The name of a zipfile placed
+ on sys.path causes the import statement to look for importable
+ Python modules (with .py, pyc and .pyo extensions) and packages
+ inside the zipfile. To support this, several new variables have
+ been added to the sys module: sys.meta_path, sys.path_hooks, and
+ sys.path_importer_cache; these make extending the import statement
+ much more convenient than overriding the __import__ built-in
+ function. For a description of these, see PEP 302. The zipfile
+ import follows the specification (though not the sample
+ implementation) of PEP 273. The semantics of __path__ are
+ compatible with those that have been implemented in Jython since
+ Jython 2.1.
+
- A frame object's f_lineno attribute can now be written to from a
trace function to change which line will execute next. A command to
***************
*** 343,346 ****
--- 356,362 ----
Extension modules
-----------------
+
+ - A module zipimport exists to support importing code from zip
+ archives.
- The new datetime module supplies classes for manipulating dates and
- Previous message: [Python-checkins] python/dist/src/Modules zipimport.c,1.2,1.3
- Next message: [Python-checkins] python/dist/src/Doc/lib libdummythread.tex,1.1,1.2 libdummythreading.tex,1.1,1.2 libthread.tex,1.27,1.28 libthreading.tex,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]