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 yselivanov
Recipients benjamin.peterson, eric.araujo, larry, ncoghlan, pitrou, scoder, terry.reedy, yselivanov
Date 2014-01-31.19:47:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391197635.66.0.36720756086.issue17159@psf.upfronthosting.co.za>
In-reply-to
Content
> Explicitly rejecting classes is a good idea, IMHO, as is requiring that any function-like object must be callable, obviously.

Yeah, I think it's good to restrict this duck-typing as much as possible. Committing the patch.
History
Date User Action Args
2014-01-31 19:47:15yselivanovsetrecipients: + yselivanov, terry.reedy, ncoghlan, pitrou, scoder, larry, benjamin.peterson, eric.araujo
2014-01-31 19:47:15yselivanovsetmessageid: <1391197635.66.0.36720756086.issue17159@psf.upfronthosting.co.za>
2014-01-31 19:47:15yselivanovlinkissue17159 messages
2014-01-31 19:47:15yselivanovcreate