New submission from Iliya Zinoviev :
1) isfunction() returns `True` for partial object only when one passes `func`
attribute of it.
2) For instance, `isgeneratorfunction()` and `iscoroutinefunction()` for
partial obj work with passing partial obj as well as with passing `func` attr
of this
Change by Iliya Zinoviev :
Added file: https://bugs.python.org/file50622/isfuncs_behavior.py
___
Python tracker
<https://bugs.python.org/issue46722>
___
___
Python-bug
Change by Iliya Zinoviev :
Removed file: https://bugs.python.org/file50622/isfuncs_behavior.py
___
Python tracker
<https://bugs.python.org/issue46722>
___
___
Python-bug
Iliya Zinoviev added the comment:
Kevin, thanks for answer!
In that case, I may conclude isgeneratorfunction,
iscoroutinefunction, isasyncgenfunction from python3.7 are more determinated,
in my view, cause partial obj has `func` attr for interaction with these funcs
anyway, so it isn't
Iliya Zinoviev added the comment:
I suppose isgeneratorfunction,
iscoroutinefunction, isasyncgenfunction were modified to treat partial obj like
regular function. But then without modifying isfunction as well, this approach
won't work in full me