Message45051
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. |
|
Date |
User |
Action |
Args |
2007-08-23 15:30:33 | admin | link | issue860326 messages |
2007-08-23 15:30:33 | admin | create | |
|