[Python-Dev] PEP 218 (sets); moving set.py to Lib

Raymond Hettinger python@rcn.com
Tue, 20 Aug 2002 20:02:05 -0400

From: "Aahz" <aahz@pythoncraft.com>
> > 1. Rename .remove() to __del__().  Its usage is inconsistent with
> > list.remove(element) which can leave other instances of element in the
> > list.  It is more consistent with 'del adict[element]'.
> You mean __delitem__, I think.  __del__ is only for deleting the object
> itself when its refcount goes to zero.