import fails

Laszlo Zsolt Nagy gandalf at geochemsource.com
Sun Dec 5 15:25:51 EST 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.




---
Best,
  Laszlo

mailto:gandalf at geochemsource.com
web:http:/designasign.biz





More information about the Python-list mailing list