[Python-checkins] r57342 - sandbox/trunk/import_in_py/zipimport_/zipimport.py

brett.cannon python-checkins at python.org
Thu Aug 23 22:29:17 CEST 2007


Author: brett.cannon
Date: Thu Aug 23 22:29:17 2007
New Revision: 57342

Modified:
   sandbox/trunk/import_in_py/zipimport_/zipimport.py
Log:
Add a note about whether the PEP 302 optional extensions can assume find_module
was called first.


Modified: sandbox/trunk/import_in_py/zipimport_/zipimport.py
==============================================================================
--- sandbox/trunk/import_in_py/zipimport_/zipimport.py	(original)
+++ sandbox/trunk/import_in_py/zipimport_/zipimport.py	Thu Aug 23 22:29:17 2007
@@ -76,6 +76,8 @@
         if the module does not exist, or None if only bytecode exists."""
         raise NotImplementedError
 
+    # XXX Are the PEP 302 optional extensions allowed to assume find_module has
+    # been called before any of the optional methods?
     def is_package(self, fullname):
         """Return True if the module name represents a package, False if it
         does not."""


More information about the Python-checkins mailing list