Ken Jin <kenjin4...@gmail.com> added the comment:

+1 to this. I'm more surprised that callable wasn't already able to do that 
(also surprised at the ``isinstance(x, callable)`` code crashing). 

I think the implementation would be slightly different than what you proposed. 
I'd like to give it a shot if you aren't already doing this, and if there's 
more support for this too.

----------
nosy: +kj

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42102>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to