Message 241365 - Python tracker

Message241365

Author ionelmc
Recipients Claudiu.Popa, christian.heimes, ethan.furman, ionelmc, llllllllll
Date 2015-04-17.20:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429303318.86.0.554307722113.issue23990@psf.upfronthosting.co.za>
In-reply-to
Content
Ethan, those sections you have linked to have nothing to do with special methods that are descriptors, or behaviour regarding descriptors.

As seen in this example, descriptors are working even for special methods:

>>> class B:
...  @property
...  def __call__(self):
...   return lambda: 1
...
>>> b = B()
>>> b()
1
History
Date User Action Args
2015-04-17 20:41:58ionelmcsetrecipients: + ionelmc, christian.heimes, Claudiu.Popa, ethan.furman, llllllllll
2015-04-17 20:41:58ionelmcsetmessageid: <1429303318.86.0.554307722113.issue23990@psf.upfronthosting.co.za>
2015-04-17 20:41:58ionelmclinkissue23990 messages
2015-04-17 20:41:58ionelmccreate