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.

Author zuo
Recipients docs@python, martin.panter, rhettinger, zuo
Date 2021-12-07.21:01:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638910915.38.0.0704495349639.issue20751@roundup.psfhosted.org>
In-reply-to
Content
Sorry, a few mistakes distorted my proposal. It should be:

   A dotted lookup such as ``super(A, obj).x`` (where ``obj`` is an
   instance of ``A`` or of a subclass of ``A``) searches ``A.__mro__``
   for a base class whose `__dict__` contains name ``"x"``, and
   then returns ``B.__dict__['x'].__get__(obj, type(obj))`` (where
   ``B`` is that base class).  If ``B.__dict__['x']`` is not a
   descriptor, it is returned unchanged.
History
Date User Action Args
2021-12-07 21:01:55zuosetrecipients: + zuo, rhettinger, docs@python, martin.panter
2021-12-07 21:01:55zuosetmessageid: <1638910915.38.0.0704495349639.issue20751@roundup.psfhosted.org>
2021-12-07 21:01:55zuolinkissue20751 messages
2021-12-07 21:01:55zuocreate