[ python-Bugs-1550938 ] from . import bug
SourceForge.net
noreply at sourceforge.net
Sat Sep 2 20:49:46 CEST 2006
Bugs item #1550938, was opened at 2006-09-02 02:05
Message generated for change (Comment added) made by nnorwitz
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: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 8
Submitted By: ganges master (gangesmaster)
Assigned to: Neal Norwitz (nnorwitz)
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.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-09-02 11:49
Message:
Logged In: YES
user_id=33168
Can you provide a patch to fix it? I'll make a decision
partly based on the patch.
----------------------------------------------------------------------
Comment By: Georg Brandl (gbrandl)
Date: 2006-09-02 02:21
Message:
Logged In: YES
user_id=849994
Agreed. Can we fix this for 2.5?
----------------------------------------------------------------------
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