Author MarSoft
Recipients MarSoft, docs@python
Date 2018-08-13.12:36:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534163786.32.0.56676864532.issue34394@psf.upfronthosting.co.za>
In-reply-to
Content
There is a great HowTo document for descriptors https://github.com/python/cpython/blob/master/Doc/howto/descriptor.rst
But it doesn't even mention the __set_name__ method which was added in py3. And it lists the descriptor protocol without that method as if it is the full protocol. The only way to know about that method is to go to the link for any other method and then you'll see that there is a __set_name__.
I think the guide sholud be updated to include at least information about existence of __set_name__.
History
Date User Action Args
2018-08-13 12:36:26MarSoftsetrecipients: + MarSoft, docs@python
2018-08-13 12:36:26MarSoftsetmessageid: <1534163786.32.0.56676864532.issue34394@psf.upfronthosting.co.za>
2018-08-13 12:36:26MarSoftlinkissue34394 messages
2018-08-13 12:36:26MarSoftcreate