New submission from wim glenn wim.glenn@gmail.com:
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.
---------- assignee: docs@python components: Documentation messages: 359642 nosy: docs@python, wim.glenn priority: normal severity: normal status: open title: Descriptor how-to guide wanting update for 3.6+ features versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue39269 _______________________________________
Change by Karthikeyan Singaravelan tir.karthi@gmail.com:
---------- nosy: +rhettinger
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue39269 _______________________________________
Karthikeyan Singaravelan tir.karthi@gmail.com added the comment:
Seems like a duplicate of https://bugs.python.org/issue34394
---------- nosy: +xtreak
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue39269 _______________________________________
Raymond Hettinger raymond.hettinger@gmail.com added the comment:
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.
---------- resolution: -> duplicate stage: -> resolved status: open -> closed
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue39269 _______________________________________