[Python-bugs-list] [ python-Bugs-492345 ] New-style class with only classic bases

noreply@sourceforge.net noreply@sourceforge.net
Wed, 12 Dec 2001 20:26:22 -0800


Bugs item #492345, was opened at 2001-12-12 20:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=492345&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Nobody/Anonymous (nobody)
Summary: New-style class with only classic bases

Initial Comment:
I just tried this:

>>> class A: pass
... 
>>> class B: pass
... 
>>> class C(A, B): __metaclass__ = type
... 
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
SystemError: NULL result without error in PyObject_Call
>>> 


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=492345&group_id=5470