Message22184
Logged In: YES
user_id=80475
The attached patch implements an augmented error message
that preserves the traceback and detailed message while
providing a hint about the high level routine that called it.
Here's a sample run:
>>> class T(bool):
pass
Traceback (most recent call last):
File "<pyshell#2>", line 1, in -toplevel-
class T(bool):
TypeError: Error when calling the metaclass bases
type 'bool' is not an acceptable base type |
|
Date |
User |
Action |
Args |
2007-08-23 14:25:40 | admin | link | issue1014215 messages |
2007-08-23 14:25:40 | admin | create | |
|