This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jhermann
Recipients
Date 2003-12-15.13:37:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
PyErrr_Display and traceback.format_exception_only
behave differently; namely, the first one prints the
module of an exception, the latter not.

The attached tb_problem.py illustrates the problem, it
prints:

Error: text

Traceback (most recent call last):
  File "tb_problem.py", line 3, in ?
    raise uu.Error("text")
uu.Error: text

(note the diff betwen "Error:..." and "ui.Error:...")

The attached patch fixes this. Python 2.2.2 has the
same problem.
History
Date User Action Args
2007-08-23 15:30:33adminlinkissue860326 messages
2007-08-23 15:30:33admincreate