[Python-checkins] r52578 - sandbox/trunk/import_in_py/importer.py
brett.cannon
python-checkins at python.org
Thu Nov 2 00:40:11 CET 2006
Author: brett.cannon
Date: Thu Nov 2 00:40:10 2006
New Revision: 52578
Modified:
sandbox/trunk/import_in_py/importer.py
Log:
Clarify a comment about __init__ files.
Modified: sandbox/trunk/import_in_py/importer.py
==============================================================================
--- sandbox/trunk/import_in_py/importer.py (original)
+++ sandbox/trunk/import_in_py/importer.py Thu Nov 2 00:40:10 2006
@@ -265,7 +265,8 @@
# XXX Does not worry about case-insensitive filesystems.
for handler in self.handlers:
for file_ext in handler.handles:
- # XXX Backwards-incompatible to use extension modules for __init__?
+ # XXX Backwards-incompatible to use anything but .py/.pyc
+ # files for __init__?
package_entry = os.path.join(self.path_entry, fullname)
package_name = os.path.join(package_entry,
'__init__'+file_ext)
More information about the Python-checkins
mailing list