Is this considered black magic?

Stewart, Robert stewart at sig.com
Wed Nov 14 16:23:17 CET 2001


> From: Andrew Dalke [mailto:dalke at dalkescientific.com]
> 
> Laura Creighton:
> >What is the collective noun for 'attributes that aren't
> >methods (you can't call them)'?
> 
> Python calls them "members".
> 
> http://www.python.org/doc/current/lib/specialattrs.html#l2h-113

I did a little checking and found this:

http://www.python.org/doc/current/tut/node11.html#SECTION0011330000000000000
000

In that section of the tutorial, "attributes" are distinguished as "methods"
and "data attributes."

In 7.5.6, of the Python/C API Reference Manual, the type of Descriptor
Objects is PyProperty_Type, so that would call into question my recollection
of "properties" being an appropriate synonym for "data attributes."

So, "data attributes" would seem to be the sanctioned term, though I
consider "properties" to be better.


Rob
Susquehanna International Group, LLP
http://www.sig.com


IMPORTANT: The information contained in this email and/or its attachments is
confidential. If you are not the intended recipient, please notify the
sender immediately by reply and immediately delete this message and all its
attachments.  Any review, use, reproduction, disclosure or dissemination of
this message or any attachment by an unintended recipient is strictly
prohibited.  Neither this message nor any attachment is intended as or
should be construed as an offer, solicitation or recommendation to buy or
sell any security or other financial instrument.  Neither the sender, his or
her employer nor any of their respective affiliates makes any warranties as
to the completeness or accuracy of any of the information contained herein
or that this message or any of its attachments is free of viruses.






More information about the Python-list mailing list