[Python-checkins] r52948 - sandbox/trunk/import_in_py/importer.py
brett.cannon
python-checkins at python.org
Thu Dec 7 01:49:22 CET 2006
Author: brett.cannon
Date: Thu Dec 7 01:49:22 2006
New Revision: 52948
Modified:
sandbox/trunk/import_in_py/importer.py
Log:
Move status work over to a Google Doc since I am the only person hacking on this
code and it's easier for me.
Modified: sandbox/trunk/import_in_py/importer.py
==============================================================================
--- sandbox/trunk/import_in_py/importer.py (original)
+++ sandbox/trunk/import_in_py/importer.py Thu Dec 7 01:49:22 2006
@@ -26,19 +26,7 @@
or not.
-XXX Semantics
-=============
-* Case-insensitive filesystems.
-* Raise ImportWarning when trying to import a directory that does not have a __init__.py.
-
-XXX Failing tests
-=================
-* test_import
-* test_importhooks
-* test_pkg
-* test_runpy
-* test_traceback
-* test_zipimport
+XXX See http://docs.google.com/View?docid=dg7fctr4_4d8tdbq on current status.
Things to be exposed at the Python level
@@ -823,6 +811,7 @@
"""
if not name:
+ #print repr(name), globals['__name__'], fromlist, level
raise ValueError("Empty module name")
is_pkg = True if '__path__' in globals else False
caller_name = globals.get('__name__')
More information about the Python-checkins
mailing list