This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tq0fqeu
Recipients tq0fqeu
Date 2009-07-16.08:46:09
SpamBayes Score 0.00010159202
Marked as misclassified No
Message-id <1247733971.96.0.782275709389.issue6495@psf.upfronthosting.co.za>
In-reply-to
Content
To create a instance of Class Person
[code]
rosss = Person('ross')
rosss.sayHi()
rosss.howMany()
[/code]
It's OK

But
[code]
ross = Person('ross')
ross.sayHi()
ross.howMany()
[/code]
It has exception, get that:
Exception AttributeError: "'NoneType' object has no attribute
'population'" in <bound method Person.__del__ of <__main__.Person
instance at 0xb7e0b34c>> ignored

python 2.6.2 + gcc 4.3.3 + kernel 2.6.28-13-generic
History
Date User Action Args
2009-07-16 08:46:12tq0fqeusetrecipients: + tq0fqeu
2009-07-16 08:46:11tq0fqeusetmessageid: <1247733971.96.0.782275709389.issue6495@psf.upfronthosting.co.za>
2009-07-16 08:46:10tq0fqeulinkissue6495 messages
2009-07-16 08:46:10tq0fqeucreate