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.

Title: Descriptor how-to guide wanting update for 3.6+ features
Type: Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7, Python 3.6
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, rhettinger, wim.glenn, xtreak
Priority: normal Keywords:

Created on 2020-01-09 01:02 by wim.glenn, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg359642 - (view) Author: wim glenn (wim.glenn) * Date: 2020-01-09 01:02

Current descriptor how-to guide, above, has no mention about API features added since Python 3.6 (see __set_name__ in PEP 487)

It's an important and useful piece of using descriptors effectively and the guide could be updated to include some info about that. 

There's some info in datamodel.html (e.g. Creating the class object) but a mention in the how-to guide would be welcome too.
msg359643 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2020-01-09 01:19
Seems like a duplicate of
msg359645 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2020-01-09 02:19
Thanks for the reminder.
I'll have time soon to work on this.
Since the other tracker issue cover this,
will close this one as a duplicate.
Date User Action Args
2022-04-11 14:59:25adminsetgithub: 83450
2020-01-09 02:19:10rhettingersetstatus: open -> closed
resolution: duplicate
messages: + msg359645

stage: resolved
2020-01-09 01:19:46xtreaksetnosy: + xtreak
messages: + msg359643
2020-01-09 01:18:06xtreaksetnosy: + rhettinger
2020-01-09 01:02:13wim.glenncreate