SilentGhost <[email protected]> added the comment: Just for the reference: "What's new in Python 3.0" page says:
> Removed callable(). Instead of callable(f) you can use isinstance(f, > collections.Callable). The operator.isCallable() function is also gone. There doesn't seem to be any indication than in two-versions time anyone would feel a need to resurrect it. It might be not "obvious", but it's consistent with the check for other attributes. And I doubt that it's any more non-obvious than the need to use it in a first place. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10518> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
