A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017851.html below:

[Python-Dev] __del__ and subclassed types

[Python-Dev] __del__ and subclassed types [Python-Dev] __del__ and subclassed typesMatt Wilson msw@redhat.com
Wed, 10 Oct 2001 13:27:53 -0400
Python 2.2a4:

class myList(type([])):
    def __del__(self):
        print "list dealloced"

list = myList()
del list

never prints "list dealloced".  Is this supposed to work?

Cheers,

Matt



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4