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.

classification
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
process
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
https://docs.python.org/3/howto/descriptor.html

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. 3.3.3.6. 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 https://bugs.python.org/issue34394
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.
History
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