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:18:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391195927.51.0.315159473346.issue17159@psf.upfronthosting.co.za>
In-reply-to
Content
Third version of the patch is attached (sig_func_ducktype_03.patch).

Changes:

- Toughen the tests for duck-typed function -- do not accept classes
- Added comments to clarify the need of duck-typing
- NEWS item
- what's new item

Stefan, please take a look. I want to make sure, that the fact that we won't accept classes that look like a function, is OK with you.
History
Date User Action Args
2014-01-31 19:18:47yselivanovsetrecipients: + yselivanov, terry.reedy, ncoghlan, pitrou, scoder, larry, benjamin.peterson, eric.araujo
2014-01-31 19:18:47yselivanovsetmessageid: <1391195927.51.0.315159473346.issue17159@psf.upfronthosting.co.za>
2014-01-31 19:18:47yselivanovlinkissue17159 messages
2014-01-31 19:18:46yselivanovcreate