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 terry.reedy
Recipients ats.engg, docs@python, eric.araujo, ezio.melotti, rhettinger, terry.reedy
Date 2011-07-25.17:10:36
SpamBayes Score 2.182729e-06
Marked as misclassified No
Message-id <1311613837.34.0.0185530896514.issue12634@psf.upfronthosting.co.za>
In-reply-to
Content
That sentence is wrong to imply that there is anything special about data versus method attributes with respect to overriding -- or that attributes are special when it comes to names in a single namespace. What I think the paragraph should say, if not just deleted, is something like.

"Instance attributes hide class attributes. Instance data names are often intended to override class data names. But instance data names masking methods names is likely a mistake. This can be avoided by using verbs for method names and nouns for data names."
History
Date User Action Args
2011-07-25 17:10:37terry.reedysetrecipients: + terry.reedy, rhettinger, ezio.melotti, eric.araujo, docs@python, ats.engg
2011-07-25 17:10:37terry.reedysetmessageid: <1311613837.34.0.0185530896514.issue12634@psf.upfronthosting.co.za>
2011-07-25 17:10:36terry.reedylinkissue12634 messages
2011-07-25 17:10:36terry.reedycreate