Andrew Shuiu <as...@bitdefender.com> added the comment:

Hello Murray,
That seems a little strange to me, because if an object is instance of
a class, it should inherit all of it attributes.

Is it an optimization issue? because I observed that all
instances of a class that has such "static" attributes, shares that
attributes for less memory using.

Anyway, thank you for explications.

Saturday, February 20, 2010, 12:03:46 AM, you wrote:

> R. David Murray <rdmur...@bitdance.com> added the comment:

> That's because the attribute values don't exist in the instance
> until you make an assignment to them.  Before that the exist only as class 
> attributes.

priority:  ->> normal
resolution:  ->> invalid
stage:  ->> committed/rejected
status: open ->> closed

> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue7968>
> _______________________________________

-- 
Best regards,
Andrei SUIU
Virus Researcher, BitDefender
  as...@bitdefender.com                          mailto:as...@bitdefender.com
--------------------------------
Phone : +40 232 232 222
www.bitdefender.com
--------------------------------
The content of this message and attachments are confidential and are 
classified as BitDefender's Proprietary Information. The content of 
this message is intended solely for the use of the individual or entity 
to whom it is addressed and others authorized to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking any action based on this information are 
strictly prohibited and may be precluded by law. If you have received 
this message in error, please notify us immediately and then delete it 
from your system. BitDefender SRL is neither liable for the proper and 
complete transmission of the information contained in this message nor 
for any delay in its receipt.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to