Yury Selivanov added the comment: 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. ---------- keywords: +needs review -patch Added file: http://bugs.python.org/file33836/sig_func_ducktype_03.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com