[Numpy-svn] r5288 - trunk/numpy
numpy-svn at scipy.org
numpy-svn at scipy.org
Mon Jun 16 21:11:44 EDT 2008
Author: rkern
Date: 2008-06-16 20:11:43 -0500 (Mon, 16 Jun 2008)
New Revision: 5288
Modified:
trunk/numpy/_import_tools.py
Log:
When using PackageLoader, do not add subpackage names to __all__.
Modified: trunk/numpy/_import_tools.py
===================================================================
--- trunk/numpy/_import_tools.py 2008-06-17 00:23:20 UTC (rev 5287)
+++ trunk/numpy/_import_tools.py 2008-06-17 01:11:43 UTC (rev 5288)
@@ -152,7 +152,7 @@
Parameters
----------
- *packges : arg-tuple
+ *packages : arg-tuple
the names (one or more strings) of all the modules one
wishes to load into the top-level namespace.
verbose= : integer
@@ -183,9 +183,6 @@
postpone_import = getattr(info_module,'postpone_import',False)
if (postpone and not global_symbols) \
or (postpone_import and postpone is not None):
- self.log('__all__.append(%r)' % (package_name))
- if '.' not in package_name:
- self.parent_export_names.append(package_name)
continue
old_object = frame.f_locals.get(package_name,None)
More information about the Numpy-svn
mailing list