A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/076349.html below:

Beginner's Question (or bug in python?)

Beginner's Question (or bug in python?) Beginner's Question (or bug in python?)Rainer Deyke root at rainerdeyke.com
Fri Apr 20 13:14:47 EDT 2001
"Rolf Magnus" <ramagnus at zvw.de> wrote in message
news:9bpi39$ae6$1 at news.sns-felb.debis.de...
> Hello. I have a problem understanding why the behaviour of python depends
> on class names. I have the following python script:

<snip>

> If I execute this, I get the following:
>
> initializing fred
> initializing foo
> Hello world
> deleting foo
> Exception exceptions.AttributeError: "'None' object has no attribute
> '__del__'" in <method Foo.__del__ of Foo instance at 80c3c00> ignored

When a module is destroyed (because the program terminates), the order in
which its contents are removed is arbitrary.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor



More information about the Python-list mailing list

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