[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-28 Thread Éric Araujo
Éric Araujo added the comment: Well there is http://docs.python.org/reference/datamodel.html#special-method-names (even thought we have a lot of evidence people miss that). -- nosy: +eric.araujo ___ Python tracker

[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-26 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ian Kelly reminds me that instance.__xxx__ is only skipped by the internal machinery and not by direct accesses in user code. In the other hand, docs, official or otherwise, are filled with things like 'len(a) calls a.__len__', so I think something should be s

[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Peter Otten thought the first clause should instead be ""Data attributes and method attributes share the same namespace.", which is also true for a given object. This is a different intepretation of what the original author was getting at. The convention remar

[issue16048] Tutorial-classes-remarks: replace paragragh

2012-09-25 Thread Terry J. Reedy
New submission from Terry J. Reedy: (from python-list thread "data attributes override method attributes?") "9.4. Random Remarks Data attributes override method attributes with the same name; to avoid accidental name conflicts, which may cause hard-to-find bugs in large programs, it is wise t