[issue12077] Harmonizing descriptor protocol documentation

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue12077] Harmonizing descriptor protocol documentation

2019-08-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: See PR 12992 for the cross-reference from the __set__ docs to the section covering data and non-data descriptors. -- ___ Python tracker _

[issue12077] Harmonizing descriptor protocol documentation

2019-08-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Davide] > - use the same names for __get__ arguments throughout > the documentation (both the reference and the tutorial), > e.g. __get__(self, instance, owner) Early on the choice of variable names diverged (including in various PEPs and in the C sourc

[issue12077] Harmonizing descriptor protocol documentation

2017-05-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: I will have a chance to work on this before long. -- ___ Python tracker ___ ___ Python-bugs-list

[issue12077] Harmonizing descriptor protocol documentation

2017-05-06 Thread Martin Panter
Martin Panter added the comment: See Issue 23702 specifically about unbound methods in Python 3, and Issue 25435 about general problems with the how-to in Python 3. -- nosy: +martin.panter ___ Python tracker _

[issue12077] Harmonizing descriptor protocol documentation

2013-05-03 Thread Ned Batchelder
Changes by Ned Batchelder : -- nosy: +nedbat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12077] Harmonizing descriptor protocol documentation

2013-05-03 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12077] Harmonizing descriptor protocol documentation

2013-02-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12077] Harmonizing descriptor protocol documentation

2013-02-11 Thread Franck Michea
Changes by Franck Michea : Added file: http://bugs.python.org/file29041/12077_descriptor_howto_python2.patch ___ Python tracker ___ ___ Pytho

[issue12077] Harmonizing descriptor protocol documentation

2013-02-11 Thread Franck Michea
Franck Michea added the comment: Here is at least a correction of Descriptors' HowTo. There are two versions since some stuff differs (object inheritance, ...). Here are some of my interrogations though: - RevealAccess is not using instance parameter, so value is shared. Is this intended? -

[issue12077] Harmonizing descriptor protocol documentation

2012-11-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue12077] Harmonizing descriptor protocol documentation

2011-05-23 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12077] Harmonizing descriptor protocol documentation

2011-05-19 Thread Jay Parlar
Jay Parlar added the comment: Another problem is that the examples and text in the section "Functions and Methods" is no longer correct in 3.x. Namely the the references to unbound methods, and the example showing an unbound method being returned when accessing a method of a class. -

[issue12077] Harmonizing descriptor protocol documentation

2011-05-17 Thread Jay Parlar
Jay Parlar added the comment: While working on this, I believe it would also make sense to remove all instances of the terms "new-style" and "old-style" from the Descriptor HowTo (and wherever else they might be present) It still makes sense for them to be present in the 2.7 documentation, bu

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue12077] Harmonizing descriptor protocol documentation

2011-05-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12077] Harmonizing descriptor protocol documentation

2011-05-14 Thread Davide Rizzo
New submission from Davide Rizzo : There are three sources of information for the descriptor protocol: - Data model reference (Doc/reference/datamodel.rst) - Descriptor HowTo guide (Doc/howto/descriptor.rst) - PEP 252 A developer who already knows descriptor tipically reads the first one: object