[ python-Bugs-1550938 ] from . import bug

SourceForge.net noreply at sourceforge.net
Sat Sep 2 11:05:09 CEST 2006


Bugs item #1550938, was opened at 2006-09-02 12:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1550938&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: ganges master (gangesmaster)
Assigned to: Nobody/Anonymous (nobody)
Summary: from . import bug

Initial Comment:
>>> from . import foo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Relative importpath too deep

it should raise ImportError, as the module does not exist.
there's nothing wrong with the path being too deep.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1550938&group_id=5470


More information about the Python-bugs-list mailing list