[Python-bugs-list] [ python-Bugs-443793 ] Subclassed dictionary gives SystemError
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 23 Jul 2001 06:49:17 -0700
Bugs item #443793, was opened at 2001-07-23 06:49
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=443793&group_id=5470
Category: type/class unification
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Duncan Booth (duncanb)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Subclassed dictionary gives SystemError
Initial Comment:
The following code gives 'SystemError: NULL object
passed to Py_BuildValue' when run on Python 2.2a1:
--- begin ---
class mydict(dictionary):
def __setitem__(self, key, value):
pass
d = mydict()
del d['b'] # This line raises SystemError.
--- end ---
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=443793&group_id=5470