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 ncoghlan
Recipients ncoghlan, petr.viktorin, yselivanov
Date 2015-05-28.00:22:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432772563.54.0.142269221248.issue24298@psf.upfronthosting.co.za>
In-reply-to
Content
It occurs to me we're also bypassing the check that the unwrapped obj is a callable, so it probably makes sense to just recurse unconditionally after unwrapping the object, rather than only recursing for methods.

That's also a little more future-proof, in case any further checks happen to be inserted ahead of the check for __wrapped__.
History
Date User Action Args
2015-05-28 00:22:43ncoghlansetrecipients: + ncoghlan, petr.viktorin, yselivanov
2015-05-28 00:22:43ncoghlansetmessageid: <1432772563.54.0.142269221248.issue24298@psf.upfronthosting.co.za>
2015-05-28 00:22:43ncoghlanlinkissue24298 messages
2015-05-28 00:22:42ncoghlancreate