import fails

Laszlo Zsolt Nagy gandalf at
Sun Dec 5 21:25:51 CET 2004

Hello Fredrik,

Sunday, December 5, 2004, 8:31:45 PM, you wrote:

> Laszlo Zsolt Nagy wrote:

>> Definitely. However, it would be better if the exception occurred on the
>> bad assignment (e.g.  __all__ = [x])

> it does happen on the bad assignment (i.e. from foo import *)

Well, the traceback isn't useful. It does not tell you the line
number not even the name of the module.


mailto:gandalf at

More information about the Python-list mailing list