[ python-Bugs-1014215 ] Unspecific errors with metaclass
SourceForge.net
noreply at sourceforge.net
Mon Aug 23 11:33:02 CEST 2004
Bugs item #1014215, was opened at 2004-08-23 11:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1014215&group_id=5470
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unspecific errors with metaclass
Initial Comment:
Metaclass errors give only unspecific tracebacks.
The attached sample, with Python 2.3:
Traceback (most recent call last):
File "mc.py", line 10, in ?
class Z(X, Y):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases X, Y
With Python 2.4, it prints:
Traceback (most recent call last):
File "mc.py", line 10, in ?
class Z(X, Y):
TypeError: Error when calling the metaclass.
Make sure the base arguments are valid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1014215&group_id=5470
More information about the Python-bugs-list
mailing list